Merge pull request #16503 from Rushor/evading

[3.3.5][6.x]Core/Unit: Do not remove auras from Pets and Guardians after evading
This commit is contained in:
Rushor
2016-04-25 11:46:00 +02:00
4 changed files with 13 additions and 4 deletions
+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);
me->DeleteThreatList();