make hero be immune from stinking cloud damage during successful prayer
very fast hero would sometimes take two consecutive moves with very fast
monsters then getting two moves, instead of interleaving the activity
+when a monster zapped by polymorph drops inventory because of its new form,
+ don't let that same zap hit the dropped item(s)
Platform- and/or Interface-Specific Fixes
it guard against involuntary polymorph attacks too... */
shieldeff(mtmp->mx, mtmp->my);
} else if (!resist(mtmp, otmp->oclass, 0, NOTELL)) {
+ /* dropped inventory (due to death by system shock,
+ or loss of wielded weapon and/or worn armor due to
+ limitations of new shape) won't be hit by this zap */
+ for (obj = mtmp->minvent; obj; obj = obj->nobj)
+ bypass_obj(obj);
/* natural shapechangers aren't affected by system shock
(unless protection from shapechangers is interfering
with their metabolism...) */
pline("%s shudders!", Monnam(mtmp));
learn_it = TRUE;
}
- /* dropped inventory shouldn't be hit by this zap */
- for (obj = mtmp->minvent; obj; obj = obj->nobj)
- bypass_obj(obj);
/* context.bypasses = TRUE; ## for make_corpse() */
/* no corpse after system shock */
xkilled(mtmp, 3);