summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2020-05-31 10:53:09 +0800
committerJedzkie <jedzkie13@rocketmail.com>2020-05-31 12:47:25 +0800
commit0b7768837bed2aa521de5b9b76b2348943d7db20 (patch)
tree292b40fa3ad99ca71e34c63b6fc6a2fa6c0e561d /src/map/battle.c
parentec0584ac41434766e528b25730812da22ff31fc5 (diff)
downloadhercules-0b7768837bed2aa521de5b9b76b2348943d7db20.tar.gz
hercules-0b7768837bed2aa521de5b9b76b2348943d7db20.tar.bz2
hercules-0b7768837bed2aa521de5b9b76b2348943d7db20.tar.xz
hercules-0b7768837bed2aa521de5b9b76b2348943d7db20.zip
Added configuration on allowing actions on player when dead.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index c8cd71b94..f5976a434 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7448,6 +7448,7 @@ static const struct battle_data {
{ "hit_max_limit", &battle_config.hit_max, SHRT_MAX, 1, INT_MAX, },
{ "autoloot_adjust", &battle_config.autoloot_adjust, 0, 0, 1, },
{ "hom_bonus_exp_from_master", &battle_config.hom_bonus_exp_from_master, 10, 0, 100, },
+ { "allowed_actions_when_dead", &battle_config.allowed_actions_when_dead, 0, 0, 3, },
};
static bool battle_set_value_sub(int index, int value)