From 13ef4962fd2f6a943d3f9c21cb52ac930c71e514 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 1 Jun 2015 15:56:23 +0300 Subject: [PATCH] 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. --- src/makemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);