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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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