summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-31 02:50:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-31 02:50:17 +0000
commit435aebaf32d68a95df8dd609c7b82fd7f9b420e9 (patch)
treed5127bac1979c8b66c50384323c40a1c9f4ec63d
parent5b4318c32a7ba2337241b4ecb074596f4069b3ef (diff)
downloadhercules-435aebaf32d68a95df8dd609c7b82fd7f9b420e9.tar.gz
hercules-435aebaf32d68a95df8dd609c7b82fd7f9b420e9.tar.bz2
hercules-435aebaf32d68a95df8dd609c7b82fd7f9b420e9.tar.xz
hercules-435aebaf32d68a95df8dd609c7b82fd7f9b420e9.zip
- NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill level, so that at level 1 they can attack, use skills and receive no walking penalty.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7989 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 1f1c41ef8..d5db82ee3 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ 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/07/30
+ * NPC_INVISIBLE will now use Cloaking of a level +9 of the used skill
+ level, so that at level 1 they can attack, use skills and receive no
+ walking penalty. [Skotlex]
* Mob casted Sanctuary will no longer always heal it's targets regardless
of element/race [Skotlex]
* Status change packets will now use as criteria for sending the actual
diff --git a/src/map/skill.c b/src/map/skill.c
index e9806d666..c39013d5a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4964,9 +4964,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case NPC_INVISIBLE:
- //val4 passed as 1 is for "infinite cloak".
+ //On level 1, use level 10 cloaking (no speed penalty)
+ //with val4 passed as 1 is for "infinite cloak".
clif_skill_nodamage(src,bl,skillid,skilllv,
- sc_start4(bl,type,100,skilllv,0,0,1,skill_get_time(skillid,skilllv)));
+ sc_start4(bl,type,100,9+skilllv,0,0,1,skill_get_time(skillid,skilllv)));
break;
case NPC_SIEGEMODE: