Monster ranged attacks and staying away from hero

Move the check for monsters that want to stay away from hero
due to having a ranged attack into a separate function.

Add monsters with polearms and breath attacks to it.
Monsters with breath attacks stay away only if they haven't
used their breath recently, or if they are injured.
This commit is contained in:
Pasi Kallinen
2021-01-06 14:38:22 +02:00
parent c6306e1117
commit bc8dd92621
4 changed files with 38 additions and 12 deletions

View File

@@ -134,8 +134,7 @@ male hero poly'd into nymph chooses charm vs seduce message based on being
male rather than on all nymphs being female but charm message was
using hardcoded pronouns She,her for target monster--wrong for male
target and noticable if "<mon> finishes taking off his suit" is given
hostile monsters with a spit attack or launcher and ammo try to stay away
from melee range
hostile monsters with a ranged attack try to stay away from melee range
allow displacing peaceful creatures
unicorn horns don't restore attribute loss anymore
when a shop is changed from food to health food, change room type to match