summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-28 13:58:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-28 13:58:59 +0000
commit48ec7a6f080c568c771c27c1ee92008174f10388 (patch)
treecb7d3ae23f30bfe82d3eb847cd4116e2483bfc2f /src/map/battle.c
parent601d78b7aafcd129c053aa6b6e78d2c1a9594ed1 (diff)
downloadhercules-48ec7a6f080c568c771c27c1ee92008174f10388.tar.gz
hercules-48ec7a6f080c568c771c27c1ee92008174f10388.tar.bz2
hercules-48ec7a6f080c568c771c27c1ee92008174f10388.tar.xz
hercules-48ec7a6f080c568c771c27c1ee92008174f10388.zip
- Removed the sending of the online guild list when you log-on, may fix the "getting stuck" problem.
- Added battle config default_skill_delay. Specifies the default skill delay for most skills, it is also applied as a walkdelay (total skill walkdelay is default_skill_delay + that skill's can't walk delay) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6344 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 8168ec153..16132afab 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3831,6 +3831,8 @@ static const struct battle_data_short {
{ "finding_ore_rate", &battle_config.finding_ore_rate}, // [celest]
{ "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]
+
{ "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},
@@ -4231,6 +4233,7 @@ void battle_set_defaults() {
battle_config.area_size = 14;
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.require_glory_guild = 0;
battle_config.idle_no_share = 0;
battle_config.party_even_share_bonus = 0;