forked from github/server
parent
8092293003
commit
060b31f3cb
|
@ -776,7 +776,7 @@ trees(region * r, const int current_season, const int last_weeks_season)
|
||||||
if(production(r) <= 0) return;
|
if(production(r) <= 0) return;
|
||||||
|
|
||||||
/* Grundchance 1.0% */
|
/* Grundchance 1.0% */
|
||||||
seedchance = FORESTGROWTH * RESOURCE_QUANTITY;
|
seedchance = (int)(FORESTGROWTH * RESOURCE_QUANTITY);
|
||||||
/* Jeder Elf in der Region erhöht die Chance um 0.0008%. */
|
/* Jeder Elf in der Region erhöht die Chance um 0.0008%. */
|
||||||
seedchance += (min(elves, (production(r)*MAXPEASANTS_PER_AREA)/8)) * 8;
|
seedchance += (min(elves, (production(r)*MAXPEASANTS_PER_AREA)/8)) * 8;
|
||||||
grownup_trees = rtrees(r, 2);
|
grownup_trees = rtrees(r, 2);
|
||||||
|
|
Loading…
Reference in New Issue