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:
@@ -2228,10 +2228,10 @@ Amonnam(struct monst *mtmp)
|
||||
/* used for monster ID by the '/', ';', and 'C' commands to block remote
|
||||
identification of the endgame altars via their attending priests */
|
||||
char *
|
||||
distant_monnam(struct monst *mon,
|
||||
int article, /* only ARTICLE_NONE and ARTICLE_THE
|
||||
are handled here */
|
||||
char *outbuf)
|
||||
distant_monnam(
|
||||
struct monst *mon,
|
||||
int article, /* only ARTICLE_NONE and ARTICLE_THE are handled here */
|
||||
char *outbuf)
|
||||
{
|
||||
/* high priest(ess)'s identity is concealed on the Astral Plane,
|
||||
unless you're adjacent (overridden for hallucination which does
|
||||
|
||||
Reference in New Issue
Block a user