mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Spells: Skip handling apply aura spell effects if aura was removed earlier in script by PreventHitAura
This commit is contained in:
@@ -1084,7 +1084,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