fix #H6610 - completely burnt paper golem
When a monster killed a paper golem with a fire attack, the player was told that the golem "burns completely" yet it might still leave some blank scrolls as 'corpse'. The fix for that was one-line, but several other death-by-fire situations which didn't report "burns completely" were also leaving scrolls: fireball spell or scroll of fire or other fire explosions (if any), also wand of fire. Fire trap and poly'd hero with fire attack were already suppressing 'corpse'.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 mondata.h $NHDT-Date: 1513130015 2017/12/13 01:53:35 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.32 $ */
|
||||
/* NetHack 3.6 mondata.h $NHDT-Date: 1513297342 2017/12/15 00:22:22 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.33 $ */
|
||||
/* Copyright (c) 1989 Mike Threepoint */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -180,6 +180,10 @@
|
||||
#define nonliving(ptr) \
|
||||
(is_undead(ptr) || (ptr) == &mons[PM_MANES] || weirdnonliving(ptr))
|
||||
|
||||
/* no corpse (ie, blank scrolls) if killed by fire */
|
||||
#define completelyburns(ptr) \
|
||||
((ptr) == &mons[PM_PAPER_GOLEM] || (ptr) == &mons[PM_STRAW_GOLEM])
|
||||
|
||||
/* Used for conduct with corpses, tins, and digestion attacks */
|
||||
/* G_NOCORPSE monsters might still be swallowed as a purple worm */
|
||||
/* Maybe someday this could be in mflags... */
|
||||
|
||||
Reference in New Issue
Block a user