diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-13 17:07:31 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-13 17:07:31 +0000 |
commit | f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0 (patch) | |
tree | 17ba1be447010679d3ba1247960a006f187aebdd /src/map/unit.c | |
parent | 09d7d16f522b2a4aa7020698544e2153094005a2 (diff) | |
download | hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.tar.gz hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.tar.bz2 hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.tar.xz hercules-f2a6b8d9161fa8da800a60b4917d54ff95eb9bc0.zip |
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
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 ) |