From: nethack.allison Date: Tue, 4 Feb 2003 00:56:03 +0000 (+0000) Subject: freezing sphere and amulet of lifesaving X-Git-Tag: MOVE2GIT~2211 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b925920563dbffa978f2010f0df2f6410e9e22c;p=nethack freezing sphere and amulet of lifesaving wrote: > "The freezing sphere explodes! You seem unaffected by it. But wait... > The freezing sphere's medallion begins to glow! > The freezing sphere looks much better! > The medallion crumbles to dust!" > How can sphere wear a medaillon? > How can an exploded creature start to look better, if it leaves no corpse? This addresses the part about looking better, it does not address spheres wearing medallions (which is not a bug in my opinion, but other opinions may differ) --- diff --git a/src/mon.c b/src/mon.c index a2f34dcf7..7eb64fd31 100644 --- a/src/mon.c +++ b/src/mon.c @@ -1336,7 +1336,11 @@ struct monst *mtmp; pline("%s medallion begins to glow!", s_suffix(Monnam(mtmp))); makeknown(AMULET_OF_LIFE_SAVING); - pline("%s looks much better!", Monnam(mtmp)); + if (attacktype(mtmp->data, AT_EXPL) + || attacktype(mtmp->data, AT_BOOM)) + pline("%s reconstitutes!", Monnam(mtmp)); + else + pline("%s looks much better!", Monnam(mtmp)); pline_The("medallion crumbles to dust!"); } m_useup(mtmp, lifesave);