fix #H2397 - "<Mon> turns to flee" when paralyzed (trunk only)
authornethack.rankin <nethack.rankin>
Sat, 20 Aug 2011 00:22:20 +0000 (00:22 +0000)
committernethack.rankin <nethack.rankin>
Sat, 20 Aug 2011 00:22:20 +0000 (00:22 +0000)
commit8f07e5ee392e84b410a5227350b2b3dd81986c77
treecc54043672f4d817c40ba4ea05fc13e93081dc69
parent612755bfb5c412079795c68ba392df5d93874ed8
fix #H2397 - "<Mon> turns to flee" when paralyzed (trunk only)

     From a bug report, a
monster incapable of moving could yield the message "<Mon> turns to flee!"
when hit by an attack which scared it.  I thought that something to fix
this had already been done, but that wasn't the case.  Now it will give
"The immobile <mon> seems to flinch" instead.  I'd rather use
  mon->data->mmove == 0 ? "immobile <mon>" :
    mon->paralyzed ? "paralyzed <mon>" : "sleeping <mon>"
but it presently isn't possible to distinguish between sleep, paralysis,
and being busy doning armor because mon->mfrozen is used for all three.
(I'm not going to worry about the busy case, even though "immobile" sounds
inaccurate for it.)

     Also, stethoscope and probing were suppressing "scared" after giving
"can't move", in order to reduce the chance of wrapping the top line.
This changes it to display both status conditions so that scared state
isn't hidden when the target is paralyzed or asleep (or busy).
doc/fixes35.0
src/fountain.c
src/monmove.c
src/pline.c
src/uhitm.c