forked from github/server
Reducing the amount of undeads rising for very young regions.
This commit is contained in:
parent
17a6be3d0f
commit
d72fbffb1d
|
@ -1450,6 +1450,7 @@ randomevents(void)
|
||||||
int undead = unburied / (rand() % 2 + 1);
|
int undead = unburied / (rand() % 2 + 1);
|
||||||
const race * rc = NULL;
|
const race * rc = NULL;
|
||||||
int i;
|
int i;
|
||||||
|
if (r->age<100) undead = undead * 100 / r->age; /* newbie-regionen kriegen weniger ab */
|
||||||
|
|
||||||
if (!undead || r->age < 20) continue;
|
if (!undead || r->age < 20) continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue