diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-17 10:15:48 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-17 10:15:48 +0000 |
commit | a89c7dda8ac0eded573e3c24d59684d15957646d (patch) | |
tree | eae0f3b8223d6f61b54c4bec331ec1caa048e330 /src/map/skill.c | |
parent | 22c197474d2aa50781523a3d20fdf7f467d5bce2 (diff) | |
download | hercules-a89c7dda8ac0eded573e3c24d59684d15957646d.tar.gz hercules-a89c7dda8ac0eded573e3c24d59684d15957646d.tar.bz2 hercules-a89c7dda8ac0eded573e3c24d59684d15957646d.tar.xz hercules-a89c7dda8ac0eded573e3c24d59684d15957646d.zip |
* Updated Sphere Mine
* Updated Wind Walk
* Added effect for Deadly poison bottle and Ice cream
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@594 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index ec7ed2fe7..221118628 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8667,6 +8667,7 @@ int skill_status_change_end(struct block_list* bl, int type, int tid) case SC_SPEEDPOTION0: /* ?速ポ?ション */ case SC_SPEEDPOTION1: case SC_SPEEDPOTION2: + case SC_SPEEDPOTION3: case SC_APPLEIDUN: /* イドゥンの林檎 */ case SC_RIDING: case SC_BLADESTOP_WAIT: @@ -9500,7 +9501,7 @@ int skill_status_change_start(struct block_list *bl, int type, int val1, int val if(sc_data[type].timer != -1){ /* すでに同じ異常になっている場合タイマ解除 */ if(sc_data[type].val1 > val1 && type != SC_COMBO && type != SC_DANCING && type != SC_DEVOTION && - type != SC_SPEEDPOTION0 && type != SC_SPEEDPOTION1 && type != SC_SPEEDPOTION2 + type != SC_SPEEDPOTION0 && type != SC_SPEEDPOTION1 && type != SC_SPEEDPOTION2 && type != SC_SPEEDPOTION3 && type != SC_ATKPOT && type != SC_MATKPOT) // added atk and matk potions [Valaris] return 0; if ((type >=SC_STAN && type <= SC_BLIND) || type == SC_DPOISON) @@ -9553,8 +9554,9 @@ int skill_status_change_start(struct block_list *bl, int type, int val1, int val calc_flag = 1; if(sc_data[SC_DECREASEAGI].timer!=-1 ) skill_status_change_end(bl,SC_DECREASEAGI,-1); - if(sc_data[SC_WINDWALK].timer!=-1 ) /* ウインドウォ?ク */ - skill_status_change_end(bl,SC_WINDWALK,-1); + // the effect will still remain [celest] +// if(sc_data[SC_WINDWALK].timer!=-1 ) /* ウインドウォ?ク */ +// skill_status_change_end(bl,SC_WINDWALK,-1); break; case SC_DECREASEAGI: /* 速度減少 */ if (bl->type == BL_PC) // Celest @@ -9840,6 +9842,7 @@ int skill_status_change_start(struct block_list *bl, int type, int val1, int val case SC_SPEEDPOTION0: /* ?速ポ?ション */ case SC_SPEEDPOTION1: case SC_SPEEDPOTION2: + case SC_SPEEDPOTION3: calc_flag = 1; tick = 1000 * tick; val2 = 5*(2+type-SC_SPEEDPOTION0); |