mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Auras: Implement SpellAuraInterruptFlags2::Transform (#31440)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user