summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 14:09:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-17 14:09:54 +0000
commitb719a7594246a5716926dd0b7df6ab8adb97424d (patch)
treebe0e26e7aca1e7e4a8ea0ef3669cdf2b9b4bc457 /src/map/battle.c
parentc7b72fc94094e863763ecb3c4d8e818953925a2b (diff)
downloadhercules-b719a7594246a5716926dd0b7df6ab8adb97424d.tar.gz
hercules-b719a7594246a5716926dd0b7df6ab8adb97424d.tar.bz2
hercules-b719a7594246a5716926dd0b7df6ab8adb97424d.tar.xz
hercules-b719a7594246a5716926dd0b7df6ab8adb97424d.zip
- Fixed handling of the char_gm_read config for packet 0x2af7 (reloadgmdb)
- Added battle_config debuff_on_logout which removes Asura's SP regen delay and Strip-Equip effects on logout when set to yes (default). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5644 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 6de02dc23..ace030d10 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3990,6 +3990,8 @@ static const struct battle_data_short {
{ "ignore_items_gender", &battle_config.ignore_items_gender}, // [Lupus]
{ "copyskill_restrict", &battle_config.copyskill_restrict}, // [Aru]
{ "berserk_cancels_buffs", &battle_config.berserk_cancels_buffs}, // [Aru]
+
+ { "debuff_on_logout", &battle_config.debuff_on_logout},
{ "monster_ai", &battle_config.mob_ai},
{ "dynamic_mobs", &battle_config.dynamic_mobs},
{ "mob_remove_damaged", &battle_config.mob_remove_damaged},
@@ -4391,6 +4393,9 @@ void battle_set_defaults() {
battle_config.who_display_aid = 0;
battle_config.display_hallucination = 1;
battle_config.ignore_items_gender = 1;
+ battle_config.copyskill_restrict = 2;
+ battle_config.berserk_cancels_buffs = 1;
+ battle_config.debuff_on_logout = 1;
battle_config.use_statpoint_table = 1;
battle_config.mob_ai = 0;
battle_config.dynamic_mobs = 1; // use Dynamic Mobs [Wizputer]