Make Juiblex resist magical digging from inside

Juiblex should be a little bit harder to beat than zapping a digging
wand once you've gotten swallowed and then whacking him once.

Make his HP halve every time you zap digging instead of setting it
to 1.

Change via UnNetHack.
This commit is contained in:
Pasi Kallinen
2020-03-18 09:16:22 +02:00
parent 3546b2f016
commit 9ab6994eae
2 changed files with 5 additions and 1 deletions

View File

@@ -1409,7 +1409,10 @@ zap_dig()
if (is_animal(mtmp->data))
You("pierce %s %s wall!", s_suffix(mon_nam(mtmp)),
mbodypart(mtmp, STOMACH));
mtmp->mhp = 1; /* almost dead */
if (unique_corpstat(mtmp->data))
mtmp->mhp = (mtmp->mhp + 1) / 2;
else
mtmp->mhp = 1; /* almost dead */
expels(mtmp, mtmp->data, !is_animal(mtmp->data));
}
return;