diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-18 21:42:53 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-18 21:42:53 +0000 |
commit | bdbed8dc2a1b133bd668dbc701de1535e2a3211e (patch) | |
tree | 9c0e460ce64b41ee2d835ffa94aebc7164322e8c /src/map | |
parent | 41cc772d630a347c2af9aec034330da46200b48e (diff) | |
download | hercules-bdbed8dc2a1b133bd668dbc701de1535e2a3211e.tar.gz hercules-bdbed8dc2a1b133bd668dbc701de1535e2a3211e.tar.bz2 hercules-bdbed8dc2a1b133bd668dbc701de1535e2a3211e.tar.xz hercules-bdbed8dc2a1b133bd668dbc701de1535e2a3211e.zip |
Little code cleanup on last fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8356 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 9ed6e7253..24af7a858 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3733,17 +3733,10 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv))); break; case HLIF_AVOID: - i = skill_get_time(skillid,skilllv); - clif_skill_nodamage(src,bl,skillid,skilllv,sc_start(src,type,100,skilllv,i)); - clif_skill_nodamage(src,src,skillid,skilllv,sc_start(&hd->master->bl,type,100,skilllv,i)); - break; 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)); + clif_skill_nodamage(src,bl,skillid,skilllv,sc_start(bl,type,100,skilllv,i)); // Master + clif_skill_nodamage(src,src,skillid,skilllv,sc_start(src,type,100,skilllv,i)); // Homunc break; case NJ_BUNSINJYUTSU: clif_skill_nodamage(src,bl,skillid,skilllv, |