Make explosions burn monster armor
This commit is contained in:
@@ -987,6 +987,7 @@ greased saddle makes it impossible to mount the steed
|
||||
if an item-using monster zaps a wand of digging downward on a level that
|
||||
doesn't allow holes but does allow pits, create a pit and trigger it
|
||||
no longer override the effect of a new moon by simply carring a lizard corpse
|
||||
make explosions burn monster's armor just like they do hero's armor
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
@@ -435,14 +435,15 @@ explode(
|
||||
pline("%s is caught in the %s!", Monnam(mtmp), str);
|
||||
}
|
||||
|
||||
if (adtyp == AD_FIRE) {
|
||||
(void) burnarmor(mtmp);
|
||||
ignite_items(mtmp->minvent);
|
||||
}
|
||||
idamres += destroy_mitem(mtmp, SCROLL_CLASS, (int) adtyp);
|
||||
idamres += destroy_mitem(mtmp, SPBOOK_CLASS, (int) adtyp);
|
||||
idamnonres += destroy_mitem(mtmp, POTION_CLASS, (int) adtyp);
|
||||
idamnonres += destroy_mitem(mtmp, WAND_CLASS, (int) adtyp);
|
||||
idamnonres += destroy_mitem(mtmp, RING_CLASS, (int) adtyp);
|
||||
|
||||
if (adtyp == AD_FIRE)
|
||||
ignite_items(mtmp->minvent);
|
||||
idamnonres += destroy_mitem(mtmp, WAND_CLASS, (int) adtyp);
|
||||
|
||||
if (explmask[i][j] == 1) {
|
||||
golemeffects(mtmp, (int) adtyp, dam + idamres);
|
||||
|
||||
Reference in New Issue
Block a user