From aeaaf2a192992bc79f1a36497e1f8eeb30bb8dfd Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Sun, 8 Jun 2025 19:06:03 -0400 Subject: [PATCH] Core/Spells: Skip handling apply aura spell effects if aura was removed earlier in script by PreventHitAura Port From (https://github.com/TrinityCore/TrinityCore/commit/adb63648f14bab0c757afb4429337dda232dab7a) --- Source/Game/Spells/SpellEffects.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellEffects.cs b/Source/Game/Spells/SpellEffects.cs index 19b0828da..5bf393f3d 100644 --- a/Source/Game/Spells/SpellEffects.cs +++ b/Source/Game/Spells/SpellEffects.cs @@ -677,7 +677,7 @@ namespace Game.Spells if (effectHandleMode != SpellEffectHandleMode.HitTarget) return; - if (spellAura == null || unitTarget == null) + if (spellAura == null || spellAura.IsRemoved() || unitTarget == null) return; // register target/effect on aura