fix(Core/Spells): Remove vanish immunity aura on stealth removal. (#10106)

Fixes #2668
This commit is contained in:
UltraNix
2022-01-25 03:19:50 +01:00
committed by GitHub
parent 850371d704
commit 2fce4e0f12

View File

@@ -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;
}