fix #H6042 - leash use while engulfed

Prevent using a leash while engulfed.  If someone wants to supply a
better message, go ahead.  I just tried to get the logic straight.
(The new swallowed part is easy; the previous lack of handling for
remembered unseen monsters wasn't quite so easy.)

Applying a leash was always using a move, even if player cancelled
at the prompt to pick an adjacent monster.  Now some of the early
exits don't use a move.
This commit is contained in:
PatR
2017-09-16 00:43:03 -07:00
parent 52ed881b2c
commit 21802dbb4f
2 changed files with 70 additions and 43 deletions

View File

@@ -434,6 +434,9 @@ when returning to quest nemesis' level, the message for some roles (A,S,T,W)
when the Amulet increased spell casting cost, nothing actually happened (aside
from the message about feeling the Amulet drain the hero's power) if
hero lacked sufficient energy to cast the spell
if was possible to leash an adjacent pet while engulfed
if leash or unleash attempt was directed at "remembered, unseen monster" glyph
and yielded "there's no creature there", the glyph wasn't removed
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository