summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-04-25 20:40:37 -0400
committergumi <mekolat@users.noreply.github.com>2017-05-04 09:47:09 -0400
commitd4f43bca9115ce5e9daa305498f411e3a53c3830 (patch)
treedee6de5cc4f2a9d543f8cc05b6f5a95e55fa0e95 /src/map/script.c
parentb3d381396ad924675459e0b525a614655ad63f3f (diff)
downloadhercules-d4f43bca9115ce5e9daa305498f411e3a53c3830.tar.gz
hercules-d4f43bca9115ce5e9daa305498f411e3a53c3830.tar.bz2
hercules-d4f43bca9115ce5e9daa305498f411e3a53c3830.tar.xz
hercules-d4f43bca9115ce5e9daa305498f411e3a53c3830.zip
expose bank vault to the script engines20170510
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 677cd0ce1..4c4c4ca80 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -2384,6 +2384,7 @@ void script_load_parameters(void)
{"SkillPoint", SP_SKILLPOINT},
{"Class", SP_CLASS},
{"Zeny", SP_ZENY},
+ {"BankVault", SP_BANKVAULT},
{"Sex", SP_SEX},
{"NextBaseExp", SP_NEXTBASEEXP},
{"NextJobExp", SP_NEXTJOBEXP},
@@ -23759,6 +23760,7 @@ void script_hardcoded_constants(void)
script->set_constant("MAX_CART",MAX_INVENTORY,false, false);
script->set_constant("MAX_INVENTORY",MAX_INVENTORY,false, false);
script->set_constant("MAX_ZENY",MAX_ZENY,false, false);
+ script->set_constant("MAX_BANK_ZENY", MAX_BANK_ZENY, false, false);
script->set_constant("MAX_BG_MEMBERS",MAX_BG_MEMBERS,false, false);
script->set_constant("MAX_CHAT_USERS",MAX_CHAT_USERS,false, false);
script->set_constant("MAX_REFINE",MAX_REFINE,false, false);