summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: