Remove auras interrupted by falling when we fall to the ground or water (#19115)
This commit is contained in:
1 parent
04d3783664
commit
0642e5bd82
2 files changed
+4
-1
No files matched your search
@@ -372,6 +372,10 @@ void WorldSession::HandleMovementOpcodes(WorldPacket& recvPacket)
|
||||
if (opcode == MSG_MOVE_FALL_LAND && plrMover && !plrMover->IsInFlight())
|
||||
plrMover->HandleFall(movementInfo);
|
||||
|
||||
// interrupt parachutes upon falling or landing in water
|
||||
if (opcode == MSG_MOVE_FALL_LAND || opcode == MSG_MOVE_START_SWIM)
|
||||
mover->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_LANDING); // Parachutes
|
||||
|
||||
if (plrMover && ((movementInfo.flags & MOVEMENTFLAG_SWIMMING) != 0) != plrMover->IsInWater())
|
||||
{
|
||||
// now client not include swimming flag in case jumping under water
|
||||
|
||||
Reference in new issue
Block a user