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().)
This commit is contained in:
nethack.rankin
2005-12-01 04:19:15 +00:00
parent 6708e01a47
commit c28a4aece8
2 changed files with 35 additions and 9 deletions

View File

@@ -99,6 +99,7 @@ assigning an artifact name is rejected on objects with similar description to
adjust feedback for gas spore explosion when hallucinating
traps detected by scroll or crystal ball overlooked carried or buried chests
can't wish for a trapped box/chest/tin by specifying "poisoned"
grammar bit if killed by stealing a cockatrice corpse from a monster
Platform- and/or Interface-Specific Fixes