mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 07:36:23 +00:00
these checks are not needed.
This commit is contained in:
@@ -100,9 +100,6 @@ void PetAI::UpdateAI(uint32 diff)
|
||||
Unit* owner = me->GetCharmerOrOwner();
|
||||
|
||||
//if Pet is in combat put player in combat
|
||||
if (owner->HasAuraType(SPELL_AURA_MOD_STEALTH) || owner->HasAuraType(SPELL_AURA_FEIGN_DEATH))
|
||||
return;
|
||||
else
|
||||
if (me->IsInCombat())
|
||||
owner->IsInCombat();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user