salamanders

If salamanders are made immune to slime, then all the other places in the
code which check for fire creatures should be modified too.
This commit is contained in:
arromdee
2002-02-06 05:11:25 +00:00
parent 78f59d2046
commit 9aa253c8ab
5 changed files with 5 additions and 1 deletions

View File

@@ -1018,6 +1018,7 @@ label2: if (mdef->mhp > 0) return 0;
case AD_SLIM:
if (!rn2(4) && mdef->data != &mons[PM_FIRE_VORTEX] &&
mdef->data != &mons[PM_FIRE_ELEMENTAL] &&
mdef->data != &mons[PM_SALAMANDER] &&
mdef->data != &mons[PM_GREEN_SLIME]) {
if (vis) pline("%s turns into slime.", Monnam(mdef));
(void) newcham(mdef, &mons[PM_GREEN_SLIME], FALSE);