From 2fce4e0f127575a707a7bbfbabe0c1d77ef09b34 Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Tue, 25 Jan 2022 03:19:50 +0100 Subject: [PATCH] fix(Core/Spells): Remove vanish immunity aura on stealth removal. (#10106) Fixes #2668 --- src/server/game/Spells/Auras/SpellAuras.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 3105474dd..0ec54fa90 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1806,7 +1806,10 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b } // Remove Vanish on stealth remove if (GetId() == 1784) + { target->RemoveAurasWithFamily(SPELLFAMILY_ROGUE, 0x800, 0, 0, ObjectGuid::Empty); + target->RemoveAurasDueToSpell(18461); + } break; }