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.
This commit is contained in:
+1
-1
@@ -697,7 +697,7 @@ register struct monst *mtmp;
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case S_GNOME:
|
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 = mksobj(rn2(4) ? TALLOW_CANDLE : WAX_CANDLE, TRUE, FALSE);
|
||||||
otmp->quan = 1;
|
otmp->quan = 1;
|
||||||
otmp->owt = weight(otmp);
|
otmp->owt = weight(otmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user