mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
[Knockback] Fix knockback causing stuck in Ahnqiraj
This commit is contained in:
parent
1386367e9b
commit
0d9f2ee7ba
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user