-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
featureNew feature.New feature.
Description
While #359 allows monsters to know when characters enter, they don't know when they leave. If they're notified when they leave, they could optionally decide to follow them and continue attacking.
- When a character successfully moves, an
exitevent should be triggered on the monster with the character provided. - A new event handler, follow, responds to the exit event and moves the monster in the direction the character moved.
- The chance of following could possibly be random, but can also be left as a follow-up change.
It could be worth being more specific with the event names, such as character_exited instead of exit. If that happens, the existing on_attacked and on_enter handlers should be renamed too.
Metadata
Metadata
Assignees
Labels
featureNew feature.New feature.
Projects
Status
Upcoming