]> granicus.if.org Git - nethack/commitdiff
Make pyrolisk gaze effect match other fire effects
authorPasi Kallinen <paxed@alt.org>
Sat, 6 Aug 2022 07:46:27 +0000 (10:46 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 6 Aug 2022 07:46:27 +0000 (10:46 +0300)
src/mhitu.c

index 1997ace06e74b0f21e0fa2d38a01ad914429260c..3e9a13b7ade80be7f4ce9a4435514e4a0208d5e9 100644 (file)
@@ -1618,11 +1618,15 @@ gazemu(struct monst *mtmp, struct attack *mattk)
                 pline("%s attacks you with a fiery gaze!", Monnam(mtmp));
                 stop_occupation();
                 if (Fire_resistance) {
+                    shieldeff(u.ux, u.uy);
                     pline_The("fire doesn't feel hot!");
                     monstseesu(M_SEEN_FIRE);
+                    ugolemeffects(AD_FIRE, d(12, 6));
                     dmg = 0;
                 }
                 burn_away_slime();
+                if (lev > rn2(20))
+                    (void) burnarmor(&g.youmonst);
                 if (lev > rn2(20))
                     destroy_item(SCROLL_CLASS, AD_FIRE);
                 if (lev > rn2(20))