Change fairland island size probability distribution

Island size is randomly chosen from the interval [1..2*is+1], with
expected value is.  Use two dice to roll the size instead of one.
This makes extreme sizes much less likely.
(cherry picked from commit 29d2f5ccfe)
This commit is contained in:
Markus Armbruster 2009-03-09 21:22:03 +01:00
parent f13b10d4d3
commit 26554d6962

View file

@ -809,7 +809,7 @@ grow_islands(void)
secs = 0;
if (!place_island(c, &x, &y))
return;
isiz = 1 + rnd(2 * is - 1);
isiz = 1 + rnd(is) + rnd(is);
do {
++secs;
find_coast(c);