summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-01-20 10:59:46 +0100
committerHaru <haru@dotalux.com>2020-02-09 23:47:18 +0100
commitf3fbb0ffa1f88b1b798d97b485306aa4930bf4ec (patch)
tree89f4b29b9e18f02350d6e9f6c7648c47a5189006
parenta67dddb0c21be9c6ceeb174db023d3b9db4a9db9 (diff)
downloadhercules-f3fbb0ffa1f88b1b798d97b485306aa4930bf4ec.tar.gz
hercules-f3fbb0ffa1f88b1b798d97b485306aa4930bf4ec.tar.bz2
hercules-f3fbb0ffa1f88b1b798d97b485306aa4930bf4ec.tar.xz
hercules-f3fbb0ffa1f88b1b798d97b485306aa4930bf4ec.zip
Added itemskill option flags to the script constants.
-rw-r--r--src/map/script.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index b51c1a915..08a05004f 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -27851,6 +27851,12 @@ static void script_hardcoded_constants(void)
script->set_constant("MADO_ROBOT", MADO_ROBOT, false, false);
script->set_constant("MADO_SUITE", MADO_SUITE, false, false);
+ script->constdb_comment("itemskill option flags");
+ script->set_constant("ISF_NONE", ISF_NONE, false, false);
+ script->set_constant("ISF_IGNORECONDITIONS", ISF_IGNORECONDITIONS, false, false);
+ script->set_constant("ISF_INSTANTCAST", ISF_INSTANTCAST, false, false);
+ script->set_constant("ISF_CASTONSELF", ISF_CASTONSELF, false, false);
+
script->constdb_comment("Renewal");
#ifdef RENEWAL
script->set_constant("RENEWAL", 1, false, false);