summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-03-08 16:09:42 +0100
committerGitHub <noreply@github.com>2020-03-08 16:09:42 +0100
commit020e5f3ea35cb87c243b288c7f45de5aa325e2d3 (patch)
tree83e431fa2ada35d05c253862d77c8126a29a7840 /src
parent2184a673e37f7f4ba47ef9c717d5ccde687302fb (diff)
parent9ab883aa927c77cd8a0e1c9afb65ebef8ce5ab89 (diff)
downloadhercules-020e5f3ea35cb87c243b288c7f45de5aa325e2d3.tar.gz
hercules-020e5f3ea35cb87c243b288c7f45de5aa325e2d3.tar.bz2
hercules-020e5f3ea35cb87c243b288c7f45de5aa325e2d3.tar.xz
hercules-020e5f3ea35cb87c243b288c7f45de5aa325e2d3.zip
Merge pull request #2650 from Emistry/constant_itemboundtype
Added Item Bound Type constants
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index c1eb2e8b7..0e30708d9 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -27862,6 +27862,13 @@ static void script_hardcoded_constants(void)
script->set_constant("ISF_INSTANTCAST", ISF_INSTANTCAST, false, false);
script->set_constant("ISF_CASTONSELF", ISF_CASTONSELF, false, false);
+ script->constdb_comment("Item Bound Types");
+ script->set_constant("IBT_ANY", IBT_NONE, false, false); // for *checkbound()
+ script->set_constant("IBT_ACCOUNT", IBT_ACCOUNT, false, false);
+ script->set_constant("IBT_GUILD", IBT_GUILD, false, false);
+ script->set_constant("IBT_PARTY", IBT_PARTY, false, false);
+ script->set_constant("IBT_CHARACTER", IBT_CHARACTER, false, false);
+
script->constdb_comment("Renewal");
#ifdef RENEWAL
script->set_constant("RENEWAL", 1, false, false);