monsters defending against slime (trunk only)
Like their use of lizard corpses to defeat being turned into stone,
let monsters use wands of fire, fire horns, and scrolls of fire to try to
defeat being turned into slime. If the scroll is read while confused, it
won't succeed. Otherwise, monsters who don't resist fire will take some
damage in the process and might end up killing themselves (although with
the testing I've gone I've yet to see that happen--I guess that means
that handling for dying-in-the-process hasn't been adequately tested...).
So far, they don't know how to jump onto adjacent fire traps, nor
will fire breathing monsters breath at themselves. I don't know whether
I'll get around to tackling either of those.
This commit is contained in:
@@ -1471,6 +1471,7 @@ E boolean FDECL(searches_for_item, (struct monst *,struct obj *));
|
||||
E boolean FDECL(mon_reflects, (struct monst *,const char *));
|
||||
E boolean FDECL(ureflects, (const char *,const char *));
|
||||
E boolean FDECL(munstone, (struct monst *,BOOLEAN_P));
|
||||
E boolean FDECL(munslime, (struct monst *,BOOLEAN_P));
|
||||
|
||||
/* ### music.c ### */
|
||||
|
||||
@@ -2631,6 +2632,7 @@ E void FDECL(miss, (const char *,struct monst *));
|
||||
E struct monst *FDECL(bhit, (int,int,int,int,int (*)(MONST_P,OBJ_P),
|
||||
int (*)(OBJ_P,OBJ_P),struct obj **));
|
||||
E struct monst *FDECL(boomhit, (struct obj *,int,int));
|
||||
E int FDECL(zhitm, (struct monst *,int,int,struct obj **));
|
||||
E int FDECL(burn_floor_paper, (int,int,BOOLEAN_P,BOOLEAN_P));
|
||||
E void FDECL(buzz, (int,int,XCHAR_P,XCHAR_P,int,int));
|
||||
E void FDECL(melt_ice, (XCHAR_P,XCHAR_P,const char *));
|
||||
|
||||
Reference in New Issue
Block a user