Core/Auras: Implemented SPELL_AURA_DISABLE_INERTIA (506)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d945a118db6d2b423a77c419eb8dd7f4732802a2)
This commit is contained in:
@@ -5749,6 +5749,12 @@ namespace Game.Entities
|
||||
if (HasAura(196055)) //DH DoubleJump
|
||||
setCompoundState.StateChanges.Add(new MoveSetCompoundState.MoveStateChange(ServerOpcodes.MoveEnableDoubleJump, m_movementCounter++));
|
||||
|
||||
if (HasAuraType(AuraType.IgnoreMovementForces))
|
||||
setCompoundState.StateChanges.Add(new MoveSetCompoundState.MoveStateChange(ServerOpcodes.MoveSetIgnoreMovementForces, m_movementCounter++));
|
||||
|
||||
if (HasAuraType(AuraType.DisableInertia))
|
||||
setCompoundState.StateChanges.Add(new MoveSetCompoundState.MoveStateChange(ServerOpcodes.MoveDisableInertia, m_movementCounter++));
|
||||
|
||||
if (!setCompoundState.StateChanges.Empty())
|
||||
{
|
||||
setCompoundState.MoverGUID = GetGUID();
|
||||
|
||||
Reference in New Issue
Block a user