summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 21:42:53 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-18 21:42:53 +0000
commitbdbed8dc2a1b133bd668dbc701de1535e2a3211e (patch)
tree9c0e460ce64b41ee2d835ffa94aebc7164322e8c
parent41cc772d630a347c2af9aec034330da46200b48e (diff)
downloadhercules-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
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/skill.c11
2 files changed, 3 insertions, 9 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index d8710b6fc..84bafffb1 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ 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/08/18
+ * Little code cleanup on last fix [Toms]
* Fixed HLIF_HEAL healing the homunc instead of the master [Toms]
* Fixed HLIF_AVOID not increasing walk speed of master [Toms]
* Fixed the atk_rate (Turtle General Card) bonus not working on
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,