diff options
author | panikon <panikon@zoho.com> | 2014-03-20 14:25:42 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-03-20 14:25:42 -0300 |
commit | a80bfc15cf01d55c556ee2924349511096bd4467 (patch) | |
tree | 770b7b19512dc44165233d2193bade36976d5f53 | |
parent | f7cd6b42179e2cdb5bbea3b9c060d0fc56d265b6 (diff) | |
download | hercules-a80bfc15cf01d55c556ee2924349511096bd4467.tar.gz hercules-a80bfc15cf01d55c556ee2924349511096bd4467.tar.bz2 hercules-a80bfc15cf01d55c556ee2924349511096bd4467.tar.xz hercules-a80bfc15cf01d55c556ee2924349511096bd4467.zip |
Fixed issue 8059 http://hercules.ws/board/tracker/issue-8059-teakwon-100-chance-on-stances/
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 78f5fe3f1..18fe46afe 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -760,15 +760,15 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1 // Chance to trigger Taekwon kicks [Dralnu] if(sc && !sc->data[SC_COMBOATTACK]) { if(sc->data[SC_STORMKICK_READY] && - sc_start(NULL,src,SC_COMBOATTACK, 15, TK_STORMKICK, + sc_start(src,src,SC_COMBOATTACK, 15, TK_STORMKICK, (2000 - 4*sstatus->agi - 2*sstatus->dex))) ; //Stance triggered else if(sc->data[SC_DOWNKICK_READY] && - sc_start(NULL,src,SC_COMBOATTACK, 15, TK_DOWNKICK, + sc_start(src,src,SC_COMBOATTACK, 15, TK_DOWNKICK, (2000 - 4*sstatus->agi - 2*sstatus->dex))) ; //Stance triggered else if(sc->data[SC_TURNKICK_READY] && - sc_start(NULL,src,SC_COMBOATTACK, 15, TK_TURNKICK, + sc_start(src,src,SC_COMBOATTACK, 15, TK_TURNKICK, (2000 - 4*sstatus->agi - 2*sstatus->dex))) ; //Stance triggered else if (sc->data[SC_COUNTERKICK_READY]) { //additional chance from SG_FRIEND [Komurka] @@ -777,7 +777,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1 rate += rate*sc->data[SC_SKILLRATE_UP]->val2/100; status_change_end(src, SC_SKILLRATE_UP, INVALID_TIMER); } - sc_start2(NULL, src, SC_COMBOATTACK, rate, TK_COUNTER, bl->id, + sc_start2(src, src, SC_COMBOATTACK, rate, TK_COUNTER, bl->id, (2000 - 4*sstatus->agi - 2*sstatus->dex)); } } |