casting a forgotten spell uses some random amount of power
heroes starting with a spell have at least one level one spell, and
have just enough power to cast it
+huge monsters get easily out of pits
+give a message when a trapped monster frees itself from some trap
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
seetrap(trap);
}
- if (!rn2(40)) {
+ if (!rn2(40) || (is_pit(trap->ttyp) && mtmp->data->msize >= MZ_HUGE)) {
if (sobj_at(BOULDER, mtmp->mx, mtmp->my)
&& is_pit(trap->ttyp)) {
if (!rn2(2)) {
fill_pit(mtmp->mx, mtmp->my);
}
} else {
+ if (canseemon(mtmp)) {
+ if (is_pit(trap->ttyp))
+ pline("%s climbs %sout of the pit.", Monnam(mtmp),
+ mtmp->data->msize >= MZ_HUGE ? "easily " : "");
+ else if (trap->ttyp == BEAR_TRAP || trap->ttyp == WEB)
+ pline("%s pulls free of the %s.", Monnam(mtmp),
+ trapname(trap->ttyp, FALSE));
+ }
mtmp->mtrapped = 0;
}
} else if (metallivorous(mptr)) {
reset_utrap(FALSE);
fill_pit(u.ux, u.uy);
g.vision_full_recalc = 1; /* vision limits change */
- } else if (!(--u.utrap)) {
+ } else if (!(--u.utrap) || g.youmonst.data->msize >= MZ_HUGE) {
reset_utrap(FALSE);
You("%s to the edge of the %s.",
(Sokoban && Levitation)