- 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://svn.code.sf.net/p/rathena/svn/trunk@7989 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-07-31 02:50:17 +00:00
parent 8cc973233e
commit 2922c98e81
2 changed files with 6 additions and 2 deletions

View File

@ -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. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/30 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 * Mob casted Sanctuary will no longer always heal it's targets regardless
of element/race [Skotlex] of element/race [Skotlex]
* Status change packets will now use as criteria for sending the actual * Status change packets will now use as criteria for sending the actual

View File

@ -4964,9 +4964,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break; break;
case NPC_INVISIBLE: 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, 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; break;
case NPC_SIEGEMODE: case NPC_SIEGEMODE: