From 65488eb2f869e75bc6b437eb89bd0715c6c0b9a4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 4 Oct 2020 12:35:56 +0200 Subject: [PATCH] fix undead spawn chance. disable commands for EX. --- conf/ex/config.json | 4 +++- conf/ex/readme.txt | 2 ++ src/monsters.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/conf/ex/config.json b/conf/ex/config.json index 06b34096f..58d460f85 100644 --- a/conf/ex/config.json +++ b/conf/ex/config.json @@ -21,7 +21,9 @@ "config://res/eressea/spellbooks/tybied.xml" ], "disabled": [ - "number", + "destroy", + "steal", + "number", "jsreport" ], "settings": { diff --git a/conf/ex/readme.txt b/conf/ex/readme.txt index c25a12369..c3e8801e9 100644 --- a/conf/ex/readme.txt +++ b/conf/ex/readme.txt @@ -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. diff --git a/src/monsters.c b/src/monsters.c index 8b9219743..148e6f46d 100644 --- a/src/monsters.c +++ b/src/monsters.c @@ -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;