Make paralysis intefere with seduction attempts

tinklebear on IRC noticed that a hero paralyzed by a floating eye was
still "charmed" and capable of "removing her armor" as part of a nymph's
theft attack.  The same thing was true of foocubus seduction: a
paralyzed hero was still able to respond to the questions about whether
particular pieces of armor should be removed (and also do whatever else
may be involved in a successful attack...).

I think paralysis should prevent both those things.  Nymph theft will
still work, unless she needs the hero's active cooperation in removing a
bulky piece of armor.  Foocubus attacks will be prevented entirely by
paralysis, making it interfere like unconsciousness already does.

Apply a similar constraint to hero vs monster seduction, as well.
This commit is contained in:
Michael Meyer
2022-12-31 11:25:53 -08:00
committed by PatR
parent 8397b15d83
commit 15274fcca1
4 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -1764,7 +1764,7 @@ steal_it(struct monst *mdef, struct attack *mattk)
/* look for worn body armor */
ustealo = (struct obj *) 0;
if (could_seduce(&gy.youmonst, mdef, mattk)) {
if (could_seduce(&gy.youmonst, mdef, mattk) && mdef->mcanmove) {
/* find armor, and move it to end of inventory in the process */
minvent_ptr = &mdef->minvent;
while ((otmp = *minvent_ptr) != 0)