summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-23 17:55:42 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-23 17:55:42 +0000
commit05e7279f4ea2579a3d67b5339fa834e107a967c5 (patch)
treeb85c268d055b4ce0235d3b947a7ecb95cc0347b5
parentf33b7d85498201c97a744d7e8e3c655c21dff584 (diff)
downloadhercules-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
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/skill.c13
2 files changed, 4 insertions, 10 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index c3ea0eccf..1e533d3a1 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/10/23
+ * Double Casting will no longer fail when used. [Skotlex]
* Modified SC_STONE so that the duration of the "petrifying" time is 5 secs
reduced by your natural resistance to petrify (which is mdef%) [Skotlex]
* Modified the meaning of the third column in the skill_require_db. Instead
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