more #H4347 - corpse revival
commit656476e409e12ff20d5372052b263e15626ba757
authorPatR <rankin@nethack.org>
Wed, 25 May 2016 08:09:45 +0000 (25 01:09 -0700)
committerPatR <rankin@nethack.org>
Wed, 25 May 2016 08:09:45 +0000 (25 01:09 -0700)
tree48c50b37ccd621c4d8d2565376610aaa9d14f267
parent955c53eba5f94aca8b20cf25b8ec9a07388e2cf3
more #H4347 - corpse revival

When a stack of N corpses is hit by wand or spell of undead turning,
1 revives and N-1 remain corpses.  If owned by a shop, a fee for
using up all N corpses was charged and if carried at the time, the
extra N-1 became owned by the player but if on the floor, they
remained owned by the shop.  Feedback was schitzophrenic as to
whether the whole stack was involved:
 One of the <foo> corpses glows irridescently.
 You owe <shk> X zormids for them.

Split the stack so that revival explicitly operates on only 1 corpse.
It's done after the revival side of things has already succeeded or
given up, so the split will never need to be undone.
doc/fixes36.1
src/zap.c