mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Core/Spells: Skip handling apply aura spell effects if aura was removed earlier in script by PreventHitAura
(cherry picked from commit adb63648f1)
This commit is contained in:
@@ -1070,7 +1070,7 @@ void Spell::EffectApplyAura()
|
||||
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT_TARGET)
|
||||
return;
|
||||
|
||||
if (!_spellAura || !unitTarget)
|
||||
if (!_spellAura || _spellAura->IsRemoved() || !unitTarget)
|
||||
return;
|
||||
|
||||
// register target/effect on aura
|
||||
|
||||
Reference in New Issue
Block a user