summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-06 19:11:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-06 19:11:33 +0000
commit7afdfd0b4b60c52af9f4e488bb1208a426a5bddc (patch)
treee2544ee1f7559240071e202812cc901ff7d7bf54 /src/map/battle.c
parentf0fa9794bcdde0b1402bb7a7256265f59bbd7313 (diff)
downloadhercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.tar.gz
hercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.tar.bz2
hercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.tar.xz
hercules-7afdfd0b4b60c52af9f4e488bb1208a426a5bddc.zip
- Added no_skill_delay setting, when set, affected object types will have the minimum skill delay for all skills.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7551 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 191608a3a..e83b1846b 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3552,6 +3552,7 @@ static const struct battle_data_short {
{ "exp_calc_type", &battle_config.exp_calc_type}, // [celest]
{ "min_skill_delay_limit", &battle_config.min_skill_delay_limit}, // [celest]
{ "default_skill_delay", &battle_config.default_skill_delay}, // [Skotlex]
+ { "no_skill_delay", &battle_config.no_skill_delay}, // [Skotlex]
{ "require_glory_guild", &battle_config.require_glory_guild}, // [celest]
{ "idle_no_share", &battle_config.idle_no_share}, // [celest], for a feature by [MouseJstr]
{ "party_even_share_bonus", &battle_config.party_even_share_bonus},
@@ -3975,6 +3976,7 @@ void battle_set_defaults() {
battle_config.exp_calc_type = 1;
battle_config.min_skill_delay_limit = 100;
battle_config.default_skill_delay = 300; //Default skill delay according to official servers.
+ battle_config.no_skill_delay = BL_MOB;
battle_config.require_glory_guild = 0;
battle_config.idle_no_share = 0;
battle_config.party_even_share_bonus = 0;