summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-15 17:31:33 -0300
committershennetsind <ind@henn.et>2013-05-15 17:31:33 -0300
commitb864056b8d088660fca9129bddad477732ed8df9 (patch)
tree420ec211898b7df9d1cfcb05ef5964055fe2dd78 /src/map/script.c
parent120827a91283d60699824e9b1c56dd85c4747125 (diff)
downloadhercules-b864056b8d088660fca9129bddad477732ed8df9.tar.gz
hercules-b864056b8d088660fca9129bddad477732ed8df9.tar.bz2
hercules-b864056b8d088660fca9129bddad477732ed8df9.tar.xz
hercules-b864056b8d088660fca9129bddad477732ed8df9.zip
For #7210
Pending. http://hercules.ws/board/tracker/issue-7210-itemskill-command-does-not-check-for-required-items/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 3d5045f02..fba6ef0e9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8256,12 +8256,13 @@ BUILDIN(itemskill) {
id = ( script_isstring(st,2) ? skill->name2id(script_getstr(st,2)) : script_getnum(st,2) );
lv = script_getnum(st,3);
-
+/* temporarily disabled, awaiting for kenpachi to detail this so we can make it work properly */
+#if 0
if( !script_hasdata(st, 4) ) {
if( !skill->check_condition_castbegin(sd,id,lv) || !skill->check_condition_castend(sd,id,lv) )
return true;
}
-
+#endif
sd->skillitem=id;
sd->skillitemlv=lv;
clif->item_skill(sd,id,lv);