mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix knockback vertical speed
This commit is contained in:
parent
eb3d0f7da8
commit
024efede0e
@ -834,9 +834,9 @@ void PlayerbotAI::HandleBotOutgoingPacket(WorldPacket const& packet)
|
|||||||
float vcos, vsin, horizontalSpeed, verticalSpeed = 0.f;
|
float vcos, vsin, horizontalSpeed, verticalSpeed = 0.f;
|
||||||
|
|
||||||
p >> guid.ReadAsPacked() >> counter >> vcos >> vsin >> horizontalSpeed >> verticalSpeed;
|
p >> guid.ReadAsPacked() >> counter >> vcos >> vsin >> horizontalSpeed >> verticalSpeed;
|
||||||
// if (horizontalSpeed <= 0.1f) {
|
if (horizontalSpeed <= 0.1f) {
|
||||||
// horizontalSpeed = 0.11f;
|
horizontalSpeed = 0.11f;
|
||||||
// }
|
}
|
||||||
verticalSpeed = -verticalSpeed;
|
verticalSpeed = -verticalSpeed;
|
||||||
|
|
||||||
// stop casting
|
// stop casting
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user