Core/Auras: Implement SpellAuraInterruptFlags2::Transform (#31440)

This commit is contained in:
Aqua Deus
2025-12-21 00:51:27 +01:00
committed by GitHub
parent 3cc3bee57b
commit 57f321d42f
2 changed files with 3 additions and 1 deletions

View File

@@ -2256,6 +2256,8 @@ void AuraEffect::HandleAuraTransform(AuraApplication const* aurApp, uint8 mode,
if (target->IsMounted())
target->RemoveAurasByType(SPELL_AURA_MOUNTED);
}
target->RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2::Transform);
}
else
{

View File

@@ -122,7 +122,7 @@ enum class SpellAuraInterruptFlags2 : uint32
Swimming = 0x00000002,
NotMoving = 0x00000004, // NYI
Ground = 0x00000008,
Transform = 0x00000010, // NYI
Transform = 0x00000010,
Jump = 0x00000020,
ChangeSpec = 0x00000040,
AbandonVehicle = 0x00000080, // Implemented in Unit::_ExitVehicle