summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 0c241f2f0..a05be7ea0 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1180,9 +1180,9 @@ int unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id, ui
sd->skill_id_old = skill_id;
sd->skill_lv_old = skill_lv;
break;
- }
- if (!skill->check_condition_castbegin(sd, skill_id, skill_lv))
- return 0;
+ }
+ if ( sd->skillitem != skill_id && !skill->check_condition_castbegin(sd, skill_id, skill_lv) )
+ return 0;
}
if( src->type == BL_MOB )