From e08c05a0f73d6e6ea4fe64a9b91291bc0a002251 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 24 Oct 2013 06:45:48 -0200 Subject: Added idletime options There have been requests for the extension of the feature, I was reluctant given more options would cause features relying on the feature to be easier to counter (less accurate), with the modification of the feature to employ options the feature is now configurable at the server owners discretion. Special Thanks to Haruna Signed-off-by: shennetsind --- 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 0406500b7..050f3f26e 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6470,6 +6470,7 @@ static const struct _battle_data { { "guild_notice_changemap", &battle_config.guild_notice_changemap, 2, 0, 2, }, { "feature.banking", &battle_config.feature_banking, 1, 0, 1, }, { "feature.auction", &battle_config.feature_auction, 0, 0, 2, }, + { "idletime_criteria", &battle_config.idletime_criteria, 0x25, 1, INT_MAX, }, { "mon_trans_disable_in_gvg", &battle_config.mon_trans_disable_in_gvg, 0, 0, 1, }, }; -- cgit v1.2.3-60-g2f50