Aggression Modes: only attack if attacked #47
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Aggression Modes
Right now guards just run off attacking everything - chasing deer, etc. It would be nice if there was a way to control minion behaviour so they respond differently to threats.
Example modes:
Technical Implementation
Aggressive
No change - default behaviour.
Pacifist
Maybe in the creature's Update method, keep setting the target to null.
Guard
Similar to pacifist mode. Upon receiving damage, find the first nearest enemy and target it. Return it to pacifist mode after enemy is dealt with or out of range.
The text was updated successfully, but these errors were encountered: