From a228f0d083df0e7839884371e772f89087641cf5 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 15 Dec 2011 20:32:06 +0000 Subject: fixed asura targetting, bugreport:5052 fixed a typo in a bug report number, for bugreport:4629 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15136 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index e2188811c..7b0820f66 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1019,7 +1019,7 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh sc = NULL; //Unneeded //temp: used to signal combo-skills right now. - if (sc && sc->data[SC_COMBO] && sc->data[SC_COMBO]->val1 == skill_num) + if (sc && sc->data[SC_COMBO] && (sc->data[SC_COMBO]->val1 == skill_num || skill_num == MO_EXTREMITYFIST)) { if (sc->data[SC_COMBO]->val2) target_id = sc->data[SC_COMBO]->val2; @@ -1027,9 +1027,9 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh target_id = ud->target; temp = 1; } else - if ( target_id == src->id && ( + if ( target_id == src->id && skill_get_inf(skill_num)&INF_SELF_SKILL && - skill_get_inf2(skill_num)&INF2_NO_TARGET_SELF ) || skill_num == MO_EXTREMITYFIST ) //Asura due to combo. + skill_get_inf2(skill_num)&INF2_NO_TARGET_SELF ) { target_id = ud->target; //Auto-select target. [Skotlex] temp = 1; -- cgit v1.2.3-70-g09d2