forked from github/server
Bug 2486: spawn_chance für Drachen und Seeschlangen war zu hoch.
This commit is contained in:
parent
90f854f5b7
commit
418d6b1f6c
|
@ -876,7 +876,7 @@ void spawn_dragons(void)
|
||||||
region *r;
|
region *r;
|
||||||
faction *monsters = get_or_create_monsters();
|
faction *monsters = get_or_create_monsters();
|
||||||
int minage = config_get_int("monsters.spawn.min_age", 100);
|
int minage = config_get_int("monsters.spawn.min_age", 100);
|
||||||
int spawn_chance = config_get_int("monsters.spawn.chance", 100);
|
int spawn_chance = config_get_int("monsters.spawn.chance", 100) * 100;
|
||||||
|
|
||||||
if (spawn_chance <= 0) {
|
if (spawn_chance <= 0) {
|
||||||
/* monster spawning disabled */
|
/* monster spawning disabled */
|
||||||
|
|
Loading…
Reference in New Issue