From: Pasi Kallinen Date: Mon, 1 Jun 2015 12:56:23 +0000 (+0300) Subject: Reduce the number of gnomes with candles X-Git-Tag: NetHack-3.6.0_RC01~312^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=13ef4962fd2f6a943d3f9c21cb52ac930c71e514;p=nethack Reduce the number of gnomes with candles Gnomes in mines during level generation have 1/20 chance of getting a candle (should give approximately 4 candles in all of the mines total), and every randomly generated gnome has 1/60 chance. --- diff --git a/src/makemon.c b/src/makemon.c index ea0ca262c..242675340 100644 --- a/src/makemon.c +++ b/src/makemon.c @@ -697,7 +697,7 @@ register struct monst *mtmp; } break; case S_GNOME: - if (!rn2((In_mines(&u.uz) ? 5 : 10))) { + if (!rn2((In_mines(&u.uz) && in_mklev) ? 20 : 60)) { otmp = mksobj(rn2(4) ? TALLOW_CANDLE : WAX_CANDLE, TRUE, FALSE); otmp->quan = 1; otmp->owt = weight(otmp);