Add monster navigation improvements and stuck detection#4306
Open
Vanquish-6 wants to merge 6 commits intoACEmulator:masterfrom
Open
Add monster navigation improvements and stuck detection#4306Vanquish-6 wants to merge 6 commits intoACEmulator:masterfrom
Vanquish-6 wants to merge 6 commits intoACEmulator:masterfrom
Conversation
…, and make returning monsters respond to distress calls
Refactors fast monster healing based on reviewer feedback, replacing the flag/ActionChain approach with integration into VitalHeartBeat via GetStanceMod when MonsterState is Idle. Ensures monsters still correctly interrupt healing (implicitly via state change) and retaliate if attacked during return or idle heal. Adds logic to Movement() to skip stuck detection for monsters flagged with Stuck or AiImmobile. Simplifies implementation, reduces state variables, and improves maintainability.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Monsters being stuck on buildings etc never returned home, which IMO was a huge performance issue as Physics + Collide would be doing these checks non stop.
Monsters now will return home between 10-15 seconds of being stuck, and return to full HP as they did in retail