Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Mobs reposition themselves instead of turning in place when players get close #6561

Open
3 tasks done
CriticalXI opened this issue Dec 19, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@CriticalXI
Copy link
Contributor

CriticalXI commented Dec 19, 2024

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Windows 11

Branch affected by issue

base

Steps to reproduce

  1. Enter combat with a mob
  2. Walk up into the mob's hit box or trigger a draw in
  3. See the mob reposition itself to have a set distance from its target

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.

@CriticalXI CriticalXI added the bug Something isn't working label Dec 19, 2024
@CriticalXI
Copy link
Contributor Author

CriticalXI commented Dec 19, 2024

It's been awhile, looked through my old issues and I see I already made an issue (#2268) about this awhile back. I see it marked as fixed but I'm still seeing this behavior as of yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant