mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Reset various pet command states
This will prevent charm exploits
This commit is contained in:
parent
67e29a8aa7
commit
eb33279701
@ -3928,6 +3928,12 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
|
||||
Mob* tempmob = GetOwner();
|
||||
SetOwnerID(0);
|
||||
SetPetType(petNone);
|
||||
SetHeld(false);
|
||||
SetGHeld(false);
|
||||
SetNoCast(false);
|
||||
SetFocused(false);
|
||||
SetPetStop(false);
|
||||
SetPetRegroup(false);
|
||||
if(tempmob)
|
||||
{
|
||||
tempmob->SetPet(0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user