diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-21 19:55:35 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-21 19:55:35 +0000 |
commit | 67b2fe3dac066c0d917fcd208b59895d62788d1f (patch) | |
tree | c44cdf5f185d7fad1d8a65a306ec117e353b21e5 /src/map/skill.c | |
parent | 90796b261595dd03227e6000978a600178f0c4ff (diff) | |
download | hercules-67b2fe3dac066c0d917fcd208b59895d62788d1f.tar.gz hercules-67b2fe3dac066c0d917fcd208b59895d62788d1f.tar.bz2 hercules-67b2fe3dac066c0d917fcd208b59895d62788d1f.tar.xz hercules-67b2fe3dac066c0d917fcd208b59895d62788d1f.zip |
- SC_CLOAKING's val4 now holds whether cloaking ends or not on attack.
- Implemented NPC_INVISIBLE, it starts SC_CLOAKING with val4 set to 1, skill duration is 30 secs.
- Moved uncloaking on attack from attack_timer_sub to battle_calc_weapon_attack.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6223 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index ee9f34a07..77705973a 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4998,8 +4998,13 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in sc_start(bl,SC_INCAGI,100,skilllv*10,skill_get_time(skillid, skilllv)));
break;
- case NPC_SIEGEMODE:
case NPC_INVISIBLE:
+ //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)));
+ break;
+
+ case NPC_SIEGEMODE:
// not sure what it does
clif_skill_nodamage(src,bl,skillid,skilllv,1);
break;
|