diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-16 16:31:30 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-16 16:31:30 +0000 |
commit | 9b3a759edca28fa9445949aa0a3664d7dc8f6b2f (patch) | |
tree | 048521a0989fbea1662983dc2291d72688eb3e72 /src/map/skill.c | |
parent | b035b0610206daff6e94f9d88297438e0ab93261 (diff) | |
download | hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.gz hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.bz2 hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.xz hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.zip |
- @produce now can make any kind of equipment
- Fixed a warning on the mob_ai
- Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster and target.
- AM_REST shouldn't be checking for a range now (since it's a self skill)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8318 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 681ff215e..75ae90425 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3734,11 +3734,18 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case NJ_KASUMIKIRI: case NJ_UTSUSEMI: case NJ_NEN: - case HLIF_AVOID: //[orn] - case HAMI_DEFENCE: //[orn] clif_skill_nodamage(src,bl,skillid,skilllv, sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv))); break; + case HLIF_AVOID: //[orn] + case HAMI_DEFENCE: + i = skill_get_time(skillid,skilllv); + clif_skill_nodamage(src,bl,skillid,skilllv, + sc_start(src,type,100,skilllv,i)); + if (bl != src) + clif_skill_nodamage(src,bl,skillid,skilllv, + sc_start(bl,type,100,skilllv,i)); + break; case NJ_BUNSINJYUTSU: clif_skill_nodamage(src,bl,skillid,skilllv, sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv))); |