diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-23 17:55:42 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-23 17:55:42 +0000 |
commit | 05e7279f4ea2579a3d67b5339fa834e107a967c5 (patch) | |
tree | b85c268d055b4ce0235d3b947a7ecb95cc0347b5 /src/map/skill.c | |
parent | f33b7d85498201c97a744d7e8e3c655c21dff584 (diff) | |
download | hercules-05e7279f4ea2579a3d67b5339fa834e107a967c5.tar.gz hercules-05e7279f4ea2579a3d67b5339fa834e107a967c5.tar.bz2 hercules-05e7279f4ea2579a3d67b5339fa834e107a967c5.tar.xz hercules-05e7279f4ea2579a3d67b5339fa834e107a967c5.zip |
- Double Casting will no longer fail when used.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9048 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 27ad7d4c2..52f410133 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3698,6 +3698,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case ASC_EDP: // [Celest] case NPC_STOP: case WZ_SIGHTBLASTER: + case PF_DOUBLECASTING: case SG_SUN_COMFORT: case SG_MOON_COMFORT: case SG_STAR_COMFORT: @@ -4932,10 +4933,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in break; case NPC_INVISIBLE: - //On level 1, use level 10 cloaking (no speed penalty) - //with val4 passed as 1 is for "infinite cloak". + //Have val4 passed as 2 is for "infinite cloak". clif_skill_nodamage(src,bl,skillid,skilllv, - sc_start4(bl,type,100,9+skilllv,0,0,2,skill_get_time(skillid,skilllv))); + sc_start4(bl,type,100,skilllv,0,0,2,skill_get_time(skillid,skilllv))); break; case NPC_SIEGEMODE: @@ -5176,13 +5176,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in clif_skill_nodamage(src,bl,skillid,skilllv,1); break; - - case PF_DOUBLECASTING: - if (!clif_skill_nodamage(src,bl,skillid,skilllv, - sc_start(bl,type,30+ 10*skilllv,skilllv,skill_get_time(skillid,skilllv)))) - if (sd) clif_skill_fail(sd,skillid,0,0); - break; - case CG_LONGINGFREEDOM: { if (tsc && tsc->data[SC_LONGING].timer == -1 && tsc->data[SC_DANCING].timer != -1 && tsc->data[SC_DANCING].val4 |