Core/Spells: Remove Vanish on Stealth removal. Fix by thenecromancer.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-11-13 07:14:56 +01:00
parent 78a8b09774
commit 48cb3c1552

View File

@@ -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))