git issue #994 - killed by a touch of death
Issue reported by vultur-cadens: cause of death reason for touch of death and death due to loss of strength only showed the cause, not the monster spellcaster who was responsible. This changes |Killed by a touch of death. to |Killed by the touch of death inflicted by the Wizard of Yendor. and |Killed by terminal fraility. to |Killed by strength loss inflicted by a chameleon imitating an arch-lich. (The 'imitating' part doesn't fit on the tombstone but will be present in logfile/xlogfile.) Noticed while implemented this: touch of death was modifying u.uhpmax and basing death vs damage on that even when hero was polymorphed. It now rehumanizes the hero in that situation. Closes #994
This commit is contained in:
@@ -1320,7 +1320,7 @@ extern boolean usmellmon(struct permonst *);
|
||||
/* ### mcastu.c ### */
|
||||
|
||||
extern int castmu(struct monst *, struct attack *, boolean, boolean);
|
||||
extern void touch_of_death(void);
|
||||
extern void touch_of_death(struct monst *);
|
||||
extern int buzzmu(struct monst *, struct attack *);
|
||||
|
||||
/* ### mdlib.c ### */
|
||||
|
||||
Reference in New Issue
Block a user