From f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0 Mon Sep 17 00:00:00 2001 From: rud0lp20 Date: Fri, 13 Jul 2012 17:07:31 +0000 Subject: Fixed bugreport:6220 updated SR_SKYNETBLOW behavior to official and damage formula and other Sura skills(SR_TIGERCANNON,SR_FALLENEMPIRE,SR_GATEOFHELL,SR_WINDMILL,SR_RIDEINLIGHTING,SR_LIGHTNINGWALK) and more to come...:D git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16424 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 2d99940f0..d51c41638 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1201,14 +1201,14 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh (sc->data[SC_COMBO]->val1 == MO_COMBOFINISH || sc->data[SC_COMBO]->val1 == CH_TIGERFIST || sc->data[SC_COMBO]->val1 == CH_CHAINCRUSH)) - casttime = 0; + casttime = -1; temp = 1; break; case SR_GATEOFHELL: case SR_TIGERCANNON: if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == SR_FALLENEMPIRE) - casttime = 0; + casttime = -1; temp = 1; break; case SA_SPELLBREAKER: @@ -1216,15 +1216,15 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh break; case ST_CHASEWALK: if (sc && sc->data[SC_CHASEWALK]) - casttime = 0; + casttime = -1; break; case TK_RUN: if (sc && sc->data[SC_RUN]) - casttime = 0; + casttime = -1; break; case HP_BASILICA: if( sc && sc->data[SC_BASILICA] ) - casttime = 0; // No Casting time on basilica cancel + casttime = -1; // No Casting time on basilica cancel break; case KN_CHARGEATK: { @@ -1239,11 +1239,11 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh break; case RA_WUGDASH: if (sc && sc->data[SC_WUGDASH]) - casttime = 0; + casttime = -1; } // moved here to prevent Suffragium from ending if skill fails - if (!(skill_get_castnodex(skill_num, skill_lv)&2)) + if (!(skill_get_castnodex(skill_num, skill_lv)&2)) casttime = skill_castfix_sc(src, casttime, skill_num, skill_lv); if( casttime > 0 || temp ) -- cgit v1.2.3-70-g09d2