From 48cb3c155235e3fea716eea959c9e405b87f01f4 Mon Sep 17 00:00:00 2001 From: Xanadu Date: Sat, 13 Nov 2010 07:14:56 +0100 Subject: Core/Spells: Remove Vanish on Stealth removal. Fix by thenecromancer. --HG-- branch : trunk --- src/server/game/Spells/Auras/SpellAuras.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/server/game') diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 700ebcce95c..05e3b937ab0 100755 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1328,6 +1328,11 @@ void Aura::HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster, break; } break; + case SPELLFAMILY_ROGUE: + // Remove Vanish on stealth remove + if (GetId() == 1784) + target->RemoveAurasWithFamily(SPELLFAMILY_ROGUE, 0x0000800, 0, 0, target->GetGUID()); + break; case SPELLFAMILY_PALADIN: // Remove the immunity shield marker on Forbearance removal if AW marker is not present if (GetId() == 25771 && target->HasAura(61988) && !target->HasAura(61987)) -- cgit v1.2.3