summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorGuilherme G. Menaldo <guilherme.menaldo@outlook.com>2018-10-01 13:52:15 -0300
committerGuilherme Menaldo <guilherme.menaldo@outlook.com>2019-04-20 15:45:56 -0300
commitd34df93e14582b1c2ad43763666d674b7e8440ca (patch)
tree027d88ed46ffc566a81b357f3de83e62ba0edd3f /src/map/battle.c
parent4fcd9b9a3891f3538ecd8a073c3f0e1c5eb85f55 (diff)
downloadhercules-d34df93e14582b1c2ad43763666d674b7e8440ca.tar.gz
hercules-d34df93e14582b1c2ad43763666d674b7e8440ca.tar.bz2
hercules-d34df93e14582b1c2ad43763666d674b7e8440ca.tar.xz
hercules-d34df93e14582b1c2ad43763666d674b7e8440ca.zip
Added support for mobs to drop items with Random Options
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 fe7a64b51..ba7c1130d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7417,6 +7417,7 @@ static const struct battle_data {
{ "features/enable_achievement_system", &battle_config.feature_enable_achievement, 1, 0, 1, },
{ "ping_timer_inverval", &battle_config.ping_timer_interval, 30, 0, 99999999, },
{ "ping_time", &battle_config.ping_time, 20, 0, 99999999, },
+ { "option_drop_max_loop", &battle_config.option_drop_max_loop, 10, 1, 100000, },
};
static bool battle_set_value_sub(int index, int value)