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:
@@ -23,7 +23,6 @@ STATIC_DCL void FDECL(polyuse, (struct obj *,int,int));
|
||||
STATIC_DCL void FDECL(create_polymon, (struct obj *,int));
|
||||
STATIC_DCL int FDECL(stone_to_flesh_obj, (struct obj *));
|
||||
STATIC_DCL boolean FDECL(zap_updown, (struct obj *));
|
||||
STATIC_DCL int FDECL(zhitm, (struct monst *,int,int,struct obj **));
|
||||
STATIC_DCL void FDECL(zhitu, (int,int,const char *,XCHAR_P,XCHAR_P));
|
||||
STATIC_DCL void FDECL(revive_egg, (struct obj *));
|
||||
#ifdef STEED
|
||||
@@ -3202,7 +3201,8 @@ int dx, dy;
|
||||
return (struct monst *)0;
|
||||
}
|
||||
|
||||
STATIC_OVL int
|
||||
/* used by buzz(); also used by munslime(muse.c) */
|
||||
int
|
||||
zhitm(mon, type, nd, ootmp) /* returns damage to mon */
|
||||
register struct monst *mon;
|
||||
register int type, nd;
|
||||
|
||||
Reference in New Issue
Block a user