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

[core] Implement mobs with bind attacking nearby players #5705

Conversation

WinterSolstice8
Copy link
Member

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • 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 WinterSolstice8 force-pushed the implement_bind_attack_nearest_target branch 2 times, most recently from 1195914 to 1ea05b5 Compare May 12, 2024 20:47
@ampitere
Copy link
Contributor

This is really cool, also works with pets.

@WinterSolstice8
Copy link
Member Author

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...

@ampitere
Copy link
Contributor

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.

@WinterSolstice8
Copy link
Member Author

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

@WinterSolstice8 WinterSolstice8 added the hold On hold, pending further action/info label May 12, 2024
@WinterSolstice8 WinterSolstice8 force-pushed the implement_bind_attack_nearest_target branch from 1ea05b5 to 93f2ca5 Compare May 12, 2024 22:21
@WinterSolstice8 WinterSolstice8 removed the hold On hold, pending further action/info label May 12, 2024
@claywar claywar merged commit 2733102 into LandSandBoat:base May 13, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🔨 Implement attacking-closest-available-target for Bind
4 participants