diff options
author | Emistry Haoyan <equinox1991@gmail.com> | 2020-03-07 22:21:39 +0800 |
---|---|---|
committer | Emistry Haoyan <equinox1991@gmail.com> | 2020-03-08 00:52:37 +0800 |
commit | 9ab883aa927c77cd8a0e1c9afb65ebef8ce5ab89 (patch) | |
tree | 53af653457a5fe4d1254d0cff710a909f757f0e5 /src/map | |
parent | 9106bbab19b4feaa4623a3b8e5d59e08ef73b640 (diff) | |
download | hercules-9ab883aa927c77cd8a0e1c9afb65ebef8ce5ab89.tar.gz hercules-9ab883aa927c77cd8a0e1c9afb65ebef8ce5ab89.tar.bz2 hercules-9ab883aa927c77cd8a0e1c9afb65ebef8ce5ab89.tar.xz hercules-9ab883aa927c77cd8a0e1c9afb65ebef8ce5ab89.zip |
Added Item Bound Type constants
- improve readability.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 7 |
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); |