mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix knockback vertical speed
This commit is contained in:
@@ -834,9 +834,9 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
|
||||
float vcos, vsin, horizontalSpeed, verticalSpeed = 0.f;
|
||||
|
||||
p >> guid.ReadAsPacked() >> counter >> vcos >> vsin >> horizontalSpeed >> verticalSpeed;
|
||||
// if (horizontalSpeed <= 0.1f) {
|
||||
// horizontalSpeed = 0.11f;
|
||||
// }
|
||||
if (horizontalSpeed <= 0.1f) {
|
||||
horizontalSpeed = 0.11f;
|
||||
}
|
||||
verticalSpeed = -verticalSpeed;
|
||||
|
||||
// stop casting
|
||||
|
||||
Reference in New Issue
Block a user