lucasmonstrox/PyTibia

[BUG] - Cannot get target creature when it is in black life

eusolobehe1898 opened this issue · 1 comments

Describe the bug

Sometimes the char doesn't detect the target creature when it's in black life, so the char stops following the creature and stays still without moving.

To Reproduce
Attacking a creature that runs away and expects it to stay in black life.

Expected behavior
I want the char to keep following the creature.

Screenshots
image

Desktop (please complete the following information):

  • OS: windows 7
  • Tibia Version [13.x]

Was fixed in commit fbb74e8. There was a performance bug to reduce the quadratic complexity of the algorithm.

Thanks @eusolobehe1898