fix(Scripts/Hyjal): Fix Doom spawning Doomguards twice on expire (#18968)
This commit is contained in:
parent
7692b709ac
commit
9b363594e7
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ class spell_azgalor_doom : public AuraScript
|
|||
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
|
||||
{
|
||||
Unit* target = GetTarget();
|
||||
if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_DEATH)
|
||||
if (GetTargetApplication()->GetRemoveMode() == AURA_REMOVE_BY_DEATH && !IsExpired())
|
||||
{
|
||||
target->CastSpell(target, GetSpellInfo()->Effects[EFFECT_0].TriggerSpell, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue