summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-07-28 19:32:04 +0200
committerGitHub <noreply@github.com>2019-07-28 19:32:04 +0200
commit9034007595aa0ef58d28f09253ba15f405a011ab (patch)
tree8501bf59aebeae0989436d9d9b60c79f88c11704 /src/map/battle.c
parent65a7c731d228c059daf042c75d919453e4daa687 (diff)
parente06b782338e1356b42c80c80d6d59a36d833fcd8 (diff)
downloadhercules-9034007595aa0ef58d28f09253ba15f405a011ab.tar.gz
hercules-9034007595aa0ef58d28f09253ba15f405a011ab.tar.bz2
hercules-9034007595aa0ef58d28f09253ba15f405a011ab.tar.xz
hercules-9034007595aa0ef58d28f09253ba15f405a011ab.zip
Merge pull request #2505 from Emistry/autoloot_adjust
Added battle config autoloot_adjust
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 c40c3afac..7fa1567e7 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7436,6 +7436,7 @@ static const struct battle_data {
{ "critical_max_limit", &battle_config.critical_max, SHRT_MAX, 1, INT_MAX, },
{ "hit_min_limit", &battle_config.hit_min, 1, 1, INT_MAX, },
{ "hit_max_limit", &battle_config.hit_max, SHRT_MAX, 1, INT_MAX, },
+ { "autoloot_adjust", &battle_config.autoloot_adjust, 0, 0, 1, },
};
static bool battle_set_value_sub(int index, int value)