diff options
author | Emistry Haoyan <equinox1991@gmail.com> | 2019-07-14 04:21:37 +0800 |
---|---|---|
committer | Emistry Haoyan <equinox1991@gmail.com> | 2019-07-14 13:07:48 +0800 |
commit | e06b782338e1356b42c80c80d6d59a36d833fcd8 (patch) | |
tree | c98017cf2abdf6a1ca4487d23f027b3183730087 /src/map/battle.c | |
parent | a5eb6ec995612c878a3b6cb522520ffae8b13a3b (diff) | |
download | hercules-e06b782338e1356b42c80c80d6d59a36d833fcd8.tar.gz hercules-e06b782338e1356b42c80c80d6d59a36d833fcd8.tar.bz2 hercules-e06b782338e1356b42c80c80d6d59a36d833fcd8.tar.xz hercules-e06b782338e1356b42c80c80d6d59a36d833fcd8.zip |
Added battle config autoloot_adjust
Added battle config autoloot_adjust that allows autoloot to take player drop penalties and bonuses into account.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 1 |
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) |