freezing sphere and amulet of lifesaving

<Someone> 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)
This commit is contained in:
nethack.allison
2003-02-04 00:56:03 +00:00
parent 4c03322d92
commit 4b92592056

View File

@@ -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);