Make Units smarter, so that they avoid things that will hurt them.
Requirements
[ ] Avoidance behaviour:
[ ] is a general behaviour. i.e. is always applied
[ ] Actors avoid running in to obstacles.
[ ] Actors can avoid "dangers"
[ ] Actors use an avoidance strength parameter which encourages them to avoid "dangers", but doesnt force them to do so. This is so that the Actor doesn't always avoid dangers, but has some inclination to do so.
[ ] The Actor's resistances are considered when determining avoidance strength.
Additional Context
Dangers are to-be-added in-combat things that cause damage, like fire or a trap.
Suggested Feature
Make
Unit
s smarter, so that they avoid things that will hurt them.Requirements
Actor
s avoid running in to obstacles.Actor
s can avoid "dangers"Actor
s use an avoidance strength parameter which encourages them to avoid "dangers", but doesnt force them to do so. This is so that theActor
doesn't always avoid dangers, but has some inclination to do so.Actor
's resistances are considered when determining avoidance strength.Additional Context
Dangers are to-be-added in-combat things that cause damage, like fire or a trap.