From 0f1315e03a62353f223386ffc0653453bdfcc355 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 9 Feb 2012 19:55:46 +0000 Subject: Fixed bug that didn't allow LV 90+ TK Rankers from being able to use kicks not corresponding to current kick stance, bugreport:5092 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15560 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index b060e7db5..9fb8f0533 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10529,16 +10529,14 @@ int skill_check_condition_castbegin(struct map_session_data* sd, short skill, sh if(!(sc && sc->data[SC_COMBO])) return 0; //Combo needs to be ready - if (sc->data[SC_COMBO]->val3) - { //Kick chain + if (sc->data[SC_COMBO]->val3) { //Kick chain //Do not repeat a kick. if (sc->data[SC_COMBO]->val3 != skill) break; status_change_end(&sd->bl, SC_COMBO, INVALID_TIMER); return 0; } - if(sc->data[SC_COMBO]->val1 != skill) - { //Cancel combo wait. + if(sc->data[SC_COMBO]->val1 != skill && !( sd && sd->status.base_level >= 90 && pc_famerank(sd->status.char_id, MAPID_TAEKWON) )) { //Cancel combo wait. unit_cancel_combo(&sd->bl); return 0; } -- cgit v1.2.3-70-g09d2