summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-22 01:26:48 +0000
committercookiecrumbs <cookiecrumbs@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-22 01:26:48 +0000
commit04ce57ecc743ec95e79fedab7e00bc650e386d23 (patch)
treeb9a0abcfed19b711b343ef32f37e2f84bea2512e /src/map/battle.c
parent48ae82a0d0bd24c8ba9ee622930f4d74009843e9 (diff)
downloadhercules-04ce57ecc743ec95e79fedab7e00bc650e386d23.tar.gz
hercules-04ce57ecc743ec95e79fedab7e00bc650e386d23.tar.bz2
hercules-04ce57ecc743ec95e79fedab7e00bc650e386d23.tar.xz
hercules-04ce57ecc743ec95e79fedab7e00bc650e386d23.zip
Added a new configuration option to allow either weapon switching to cancel SC_DANCING or not.
Fixed an issue where movement is frozen (caster) with Longing for Freedom (walking outside of the cast). Added checks related to dancing/ensemble skills to prevent frozen characters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16470 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 79e7a00b0..e0659ce81 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5309,6 +5309,8 @@ static const struct _battle_data {
{ "buyer_name", &battle_config.buyer_name, 1, 0, 1, },
{ "skill_wall_check", &battle_config.skill_wall_check, 1, 0, 1, },
{ "cell_stack_limit", &battle_config.cell_stack_limit, 1, 1, 255, },
+ { "dancing_weaponswitch_fix", &battle_config.dancing_weaponswitch_fix, 1, 0, 1, },
+
// eAthena additions
{ "item_logarithmic_drops", &battle_config.logarithmic_drops, 0, 0, 1, },
{ "item_drop_common_min", &battle_config.item_drop_common_min, 1, 1, 10000, },