Use RemoveAurasByType() and not RemoveAuraDueToSpell() to remove iterated spellauras of a type - DueTospell() expects singular spellID
Thanks to Azazel for the heads up --HG-- branch : trunk
This commit is contained in:
@@ -400,7 +400,7 @@ struct boss_kaelthasAI : public ScriptedAI
|
||||
{
|
||||
if (!me->getVictim() && Phase >= 4)
|
||||
{
|
||||
who->RemoveAurasDueToSpell(SPELL_AURA_MOD_STEALTH);
|
||||
who->RemoveAurasByType(SPELL_AURA_MOD_STEALTH);
|
||||
AttackStart(who);
|
||||
}
|
||||
else if (me->GetMap()->IsDungeon())
|
||||
|
||||
Reference in New Issue
Block a user