summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-15 18:23:07 -0300
committershennetsind <ind@henn.et>2013-05-15 18:23:07 -0300
commit07272f7a16db87970583286db03167ca79604a69 (patch)
treec6b7cf39b37393d5f941c288b46389ad9745ff13 /src/map/unit.c
parent06ca68f1aae5e1dec3631d62cb006936f55320de (diff)
downloadhercules-07272f7a16db87970583286db03167ca79604a69.tar.gz
hercules-07272f7a16db87970583286db03167ca79604a69.tar.bz2
hercules-07272f7a16db87970583286db03167ca79604a69.tar.xz
hercules-07272f7a16db87970583286db03167ca79604a69.zip
Follow up b864056b8d088660fca9129bddad477732ed8df9
Special Thanks to Xgear! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 2847052f6..4602901d9 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1179,7 +1179,12 @@ int unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill_id, ui
sd->skill_lv_old = skill_lv;
break;
}
+ /* temporarily disabled, awaiting for kenpachi to detail this so we can make it work properly */
+#if 0
if ( sd->skillitem != skill_id && !skill->check_condition_castbegin(sd, skill_id, skill_lv) )
+#else
+ if ( !skill->check_condition_castbegin(sd, skill_id, skill_lv) )
+#endif
return 0;
}