diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 913448953..a53504e4d 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1568,6 +1568,8 @@ throwing ammo without a launcher produces a message polymorphing into a large polyform unequips rather than destroying cloaks clarify in the #quit message that it doesn't save the game cursed potion of invisibility removes intrinsic invisibility +fix bug which caused engulf damage from air elementals and fog clouds to + ignore damage reduction from armor class Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/mhitu.c b/src/mhitu.c index 8599136ed..89f6006dd 100644 --- a/src/mhitu.c +++ b/src/mhitu.c @@ -1535,8 +1535,15 @@ gulpmu(struct monst *mtmp, struct attack *mattk) break; } - if (physical_damage) + if (physical_damage) { + /* same damage reduction for AC as in hitmu */ + if (u.uac < 0) + tmp -= rnd(-u.uac); + if (tmp < 0) + tmp = 1; + tmp = Maybe_Half_Phys(tmp); + } gm.mswallower = mtmp; /* match gulpmm() */ mdamageu(mtmp, tmp);