various tests of flaming monsters
This change adds a new flaming() macro and uses it in several places where the list of flaming monsters was tested. on_fire() didn't list salamanders as already being on fire, but should have. A couple other cases were not updated to include flaming sphere.
This commit is contained in:
@@ -1482,9 +1482,7 @@ dopois:
|
||||
case AD_SLIM:
|
||||
hitmsg(mtmp, mattk);
|
||||
if (!uncancelled) break;
|
||||
if (youmonst.data == &mons[PM_FIRE_VORTEX] ||
|
||||
youmonst.data == &mons[PM_SALAMANDER] ||
|
||||
youmonst.data == &mons[PM_FIRE_ELEMENTAL]) {
|
||||
if (flaming(youmonst.data)) {
|
||||
pline_The("slime burns away!");
|
||||
dmg = 0;
|
||||
} else if (Unchanging ||
|
||||
|
||||
Reference in New Issue
Block a user