]> granicus.if.org Git - nethack/commitdiff
Higher chance of demon gating in Gehennom
authorPasi Kallinen <paxed@alt.org>
Sun, 22 Jan 2023 11:03:10 +0000 (13:03 +0200)
committerPasi Kallinen <paxed@alt.org>
Sun, 22 Jan 2023 11:03:10 +0000 (13:03 +0200)
doc/fixes3-7-0.txt
src/mhitu.c

index 73479ac16962069b6a22b8ef9cf26a1daa979e0b..43c24d6460e5e27dae03cf72a238ff0c8700a76c 100644 (file)
@@ -1090,6 +1090,7 @@ allow setting per-level "temperature": hot, cold, or temperate, currently
 digging is noisy
 polymorphing into fire elemental allows you eat flammable items
 hitting sleeping monsters will cause them to wake up noisily
+demon gating happens more in Gehennom and less outside it
 
 
 Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
index b69154b1a7c2152e0e7a6fab7bd577c334ddeb3c..a7158cd5dec22d50cd2186959b26e505381e6930 100644 (file)
@@ -845,7 +845,7 @@ summonmu(struct monst *mtmp, boolean youseeit)
 
     if (is_demon(mdat)) {
         if (mdat != &mons[PM_BALROG] && mdat != &mons[PM_AMOROUS_DEMON]) {
-            if (!rn2(13))
+            if (!rn2(Inhell ? 10 : 16))
                 (void) msummon(mtmp);
         }
         return; /* no such thing as a demon were creature, so we're done */