From e06b782338e1356b42c80c80d6d59a36d833fcd8 Mon Sep 17 00:00:00 2001 From: Emistry Haoyan Date: Sun, 14 Jul 2019 04:21:37 +0800 Subject: Added battle config autoloot_adjust Added battle config autoloot_adjust that allows autoloot to take player drop penalties and bonuses into account. --- src/map/battle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/battle.c') 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) -- cgit v1.2.3-70-g09d2