aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXanadu <none@none>2010-11-13 07:14:56 +0100
committerXanadu <none@none>2010-11-13 07:14:56 +0100
commit48cb3c155235e3fea716eea959c9e405b87f01f4 (patch)
tree8cf2e78f3193a1e83e7e6c122926582144b1346c /src
parent78a8b09774b3fc747263f87e3637b395b0587fee (diff)
Core/Spells: Remove Vanish on Stealth removal. Fix by thenecromancer.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuras.cpp5
1 files changed, 5 insertions, 0 deletions
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))