Fixed bug that led to endless NPC "dancing"
What have you done in this MR?
- Reworked combat pathfinding to eliminate a problem that lead to endless "dancing" with an NPC.
Testers:
- Try attacking enemies in weird ways while moving a lot
- Try it on both multi-tile enemies and single-tile enemies
- You should not wind up in a situation where you are endlessly "dancing" with an NPC.
Are there any tricky things testers should keep an eye out for?
-
No -
Yes, as follows: -
I have tested these changes thoroughly. -
This requires extra testing due to changes to architecture or other similarly risky changes. -
I used the Thanos Tool for any JSON edits where possible, and have attached screenshots of any changes. -
I acknowledge that this contribution will be released under the AGPL license.