Monsters try to escape from boulder forts

If a monster cannot move, for example because it's being
blocked off by boulders or walls, it will try to escape by some
method - such as a wand or scroll of teleportation.
This commit is contained in:
Pasi Kallinen
2022-08-20 21:49:51 +03:00
parent 54bff58598
commit b0f3371147
4 changed files with 21 additions and 14 deletions

View File

@@ -1766,7 +1766,7 @@ extern boolean hits_bars(struct obj **, coordxy, coordxy, coordxy, coordxy, int,
/* ### muse.c ### */
extern boolean find_defensive(struct monst *);
extern boolean find_defensive(struct monst *, boolean);
extern int use_defensive(struct monst *);
extern int rnd_defensive_item(struct monst *);
extern boolean find_offensive(struct monst *);