summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 17:08:56 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-22 17:08:56 +0000
commite2502cddcd7d361a97ab56421527f2aee75b5832 (patch)
treebd4e88aa90b815ca863564e61de58e5d09c7b340 /src/map/status.c
parent76bc7c8e3f96067b3b56869b9a4072018ece1fe6 (diff)
downloadhercules-e2502cddcd7d361a97ab56421527f2aee75b5832.tar.gz
hercules-e2502cddcd7d361a97ab56421527f2aee75b5832.tar.bz2
hercules-e2502cddcd7d361a97ab56421527f2aee75b5832.tar.xz
hercules-e2502cddcd7d361a97ab56421527f2aee75b5832.zip
Fixed bugreport:5344 break fall's dodge combo may be only be used with fly kick now
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15765 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 48ff5c9ca..464207060 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6970,23 +6970,21 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
}
break;
- case SC_COMBO:
- {
- //val1: Skill ID
- //val2: When given, target (for autotargetting skills)
- //val3: When set, this combo time should NOT delay attack/movement
- //val3: TK: Last used kick
- //val4: TK: Combo time
- struct unit_data *ud = unit_bl2ud(bl);
- if (ud && !val3)
- {
- tick += 300 * battle_config.combo_delay_rate/100;
- ud->attackabletime = gettick()+tick;
- unit_set_walkdelay(bl, gettick(), tick, 1);
+ case SC_COMBO: {
+ //val1: Skill ID
+ //val2: When given, target (for autotargetting skills)
+ //val3: When set, this combo time should NOT delay attack/movement
+ //val3: TK: Last used kick
+ //val4: TK: Combo time
+ struct unit_data *ud = unit_bl2ud(bl);
+ if (ud && !val3) {
+ tick += 300 * battle_config.combo_delay_rate/100;
+ ud->attackabletime = gettick()+tick;
+ unit_set_walkdelay(bl, gettick(), tick, 1);
+ }
+ val3 = 0;
+ val4 = tick;
}
- val3 = 0;
- val4 = tick;
- }
break;
case SC_EARTHSCROLL:
val2 = 11-val1; //Chance to consume: 11-skilllv%