server icon indicating copy to clipboard operation
server copied to clipboard

[core] Implement mobs with bind attacking nearby players

Open WinterSolstice8 opened this issue 1 year ago • 4 comments

I affirm:

  • [x] I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • [x] I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • [x] I have read and understood the Contributing Guide and the Code of Conduct.
  • [x] I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

Implements the mob AI functionality where mobs will face towards their closest target when bound an attack them (assuming they are on the enmity list of the mob) as long as their primary target with the most enmity is too far away.

Closes #5541

Steps to test these changes

Bind mob, get a lot of hate on it, move away from it, have another player stand near the mob, note it's not attacking that player, cure a player on the hate list, now the mob is will attack the player near the mob

WinterSolstice8 avatar May 12 '24 20:05 WinterSolstice8

This is really cool, also works with pets.

ampitere avatar May 12 '24 21:05 ampitere

This is really cool, also works with pets.

Hmm... not sure it's supposed to... aside from BST charmed pets, and a hard maybe for jugs...

WinterSolstice8 avatar May 12 '24 21:05 WinterSolstice8

This is really cool, also works with pets.

Hmm... not sure it's supposed to... aside from BST charmed pets, and a hard maybe for jugs...

I was using a SMN avatar if that helps.

ampitere avatar May 12 '24 21:05 ampitere

Yeah I don't think it's supposed to do that. I dont have any confirmation except on normal mobs

WinterSolstice8 avatar May 12 '24 22:05 WinterSolstice8