summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-15 04:35:59 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-15 04:35:59 +0000
commit913bf83f9b9a0df58bc9ff74613003d247a2fde4 (patch)
treed9d564e00f0f9f6aa0d5e7d719bdf6754508dfe4 /src/map
parent7f3f7ced8d0da7c841992a4cb3fed126a0022835 (diff)
downloadhercules-913bf83f9b9a0df58bc9ff74613003d247a2fde4.tar.gz
hercules-913bf83f9b9a0df58bc9ff74613003d247a2fde4.tar.bz2
hercules-913bf83f9b9a0df58bc9ff74613003d247a2fde4.tar.xz
hercules-913bf83f9b9a0df58bc9ff74613003d247a2fde4.zip
Asura-Combo Fixed, bugreport:5052
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15130 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 0b6e098a9..e2188811c 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -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_get_inf2(skill_num)&INF2_NO_TARGET_SELF ) || skill_num == MO_EXTREMITYFIST ) //Asura due to combo.
{
target_id = ud->target; //Auto-select target. [Skotlex]
temp = 1;