mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Knockback] Fix knockback causing stuck in Ahnqiraj
This commit is contained in:
@@ -1093,7 +1093,9 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
|
||||
horizontalSpeed = 0.11f;
|
||||
}
|
||||
verticalSpeed = -verticalSpeed;
|
||||
|
||||
// high vertical may result in stuck as bot can not handle gravity
|
||||
if (verticalSpeed > 35.0f)
|
||||
break;
|
||||
// stop casting
|
||||
InterruptSpell();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user