🐛 Mobs reposition themselves instead of turning in place when players get close #6561
Open
3 tasks done
Labels
bug
Something isn't working
I affirm:
OS / platform the server is running (if known)
Windows 11
Branch affected by issue
base
Steps to reproduce
Expected behavior
Noted an issue while working on draw in that mobs completely reposition themselves to look at their target when a player gets close to them. As shown in this KV capture, the mob should swivel in place to look at their target unless they have the NO_TURN behavior set. Right now, when a draw in happens the mob will walk several paces and then turn to look at its target. It seems there might be some code that forces mobs to have a set distance between themselves and their target?
This underlying issue has been the cause in the past of players getting drawn in out of the map boundaries. If you continually trigger draw in over and over, the mob will keep walking back and back until it draws you in off of the map.
The text was updated successfully, but these errors were encountered: