lucasmonstrox / PyTibia

🤖 Fastest Tibia PixelBot. A great bot for Auto, Cavebot, Healing, Macro, Refill, Targeting and Training!
MIT License
263 stars 61 forks source link

[BUG] - Following creature is weird #58

Closed eusolobehe1898 closed 1 year ago

eusolobehe1898 commented 1 year ago

Describe the bug Whenever it attacks and goes to follow a creature, it seems that the character is drunk and makes random movements.

To Reproduce Play and wait for character attacking a creature.

Expected behavior Attack and correctly follow the creature

Screenshots

Desktop (please complete the following information):

lucasmonstrox commented 1 year ago

I'm going to recalculate whenever creature make a movement. Looks like I'm just following creature first appearance.

lucasmonstrox commented 1 year ago

@lelec0 can you help here the best way to do this?

lucasmonstrox commented 1 year ago

@eusolobehe1898 Already fixed.