fix undead spawn chance.

disable commands for EX.
This commit is contained in:
Enno Rehling 2020-10-04 12:35:56 +02:00
parent 53fac9ab58
commit 65488eb2f8
3 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,9 @@
"config://res/eressea/spellbooks/tybied.xml"
],
"disabled": [
"number",
"destroy",
"steal",
"number",
"jsreport"
],
"settings": {

View File

@ -4,3 +4,5 @@
- NUMMER Befehl abgeschafft.
- Ebene und Hochland haben 20%, alle anderen Regionen 10% der Arbeitsplätze von E2.
- Keine Zufallsmonster
- ZERSTÖRE Befehl abgeschafft.
- BEKLAUE Befehl abgeschafft.

View File

@ -974,7 +974,7 @@ void spawn_undead(void)
{
region *r;
faction *monsters = get_monsters();
int spawn_chance = config_get_int("monsters.spawn.chance", 100) * 10;
int spawn_chance = config_get_int("monsters.spawn.chance", 100) * 100;
if (spawn_chance <= 0) {
return;