Core/Unit: Do not remove auras from Pets and Guardians after evading

This commit is contained in:
Aokromes committed 2016-07-19 16:21:41 +02:00
1 parent 28a7ce2007
commit 6e68a60e6d
4 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -413,7 +413,7 @@ void SmartAI::EnterEvadeMode(EvadeReason /*why*/)
if (!me->IsAlive() || me->IsInEvadeMode())
return;
me->RemoveAllAurasExceptType(SPELL_AURA_CONTROL_VEHICLE, SPELL_AURA_CLONE_CASTER);
me->RemoveAurasOnEvade();
me->AddUnitState(UNIT_STATE_EVADE);
_EnterEvadeMode();