]> granicus.if.org Git - nethack/commit
grammar bit: fatal cockatrice corpse theft (trunk only)
authornethack.rankin <nethack.rankin>
Thu, 1 Dec 2005 04:19:15 +0000 (04:19 +0000)
committernethack.rankin <nethack.rankin>
Thu, 1 Dec 2005 04:19:15 +0000 (04:19 +0000)
commitc28a4aece8d066e3d9d9ab2970d0899b354259de
treea24ee4c4d86b233d1e807699b53bc1c960235641
parent6708e01a4756b606472d885765fec7324e9aea26
grammar bit: fatal cockatrice corpse theft (trunk only)

     From a bug report, stealing a cockatrice corpse
from a monster while polymorphed into a nymph and not wearing any gloves,
the cause of death ended up being "petrified by cockatrice corpse".  It would
also have said the same thing if a stack of multiple corpses was involved.
This fixes both cases, and also hypothetical unique monsters with petrifying
touch.  (Last bit tested by temporarily adding Medusa to touch_petrifies().)
doc/fixes35.0
src/uhitm.c