]> granicus.if.org Git - nethack/commitdiff
fog cloud shouldn't pummel you with debris
authornethack.allison <nethack.allison>
Sun, 3 Aug 2003 19:59:34 +0000 (19:59 +0000)
committernethack.allison <nethack.allison>
Sun, 3 Aug 2003 19:59:34 +0000 (19:59 +0000)
doc/fixes34.2
src/mhitu.c

index 8919cd27b947c11766f73f5efd07e70b29056298..652181efe99bb47fe45830b6916e6995837b4c59 100644 (file)
@@ -119,6 +119,7 @@ travel while polymorphed into a grid bug should not move diagonally
 refine cmdassist handling for grid bugs
 when casting force bolt spell while engulfed go ahead and use the engulfers 
        name in the hit message rather than "it"
+a fog cloud shouldn't pummel you with debris
 
 
 Platform- and/or Interface-Specific Fixes
index 8138ed5e3314ac0fd08d7e843c58777dd694c1f3..e310614f337f8d8d3e78c8b757f01513e9a76607 100644 (file)
@@ -1702,8 +1702,14 @@ gulpmu(mtmp, mattk)      /* monster swallows you, or damage if u.uswallow */
                    }
                    break;
                case AD_PHYS:
-                   You("are pummeled with debris!");
-                   exercise(A_STR, FALSE);
+                   if (mtmp->data == &mons[PM_FOG_CLOUD])
+                       You("are laden with moisture and can barely %s!",
+                               !breathless(youmonst.data) ? "breathe" :
+                               "stay conscious");
+                   else {
+                       You("are pummeled with debris!");
+                       exercise(A_STR, FALSE);
+                   }
                    break;
                case AD_ACID:
                    if (Acid_resistance) {