diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-04-25 20:40:37 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-04-25 20:45:09 -0400 |
commit | aa1c480aa0140098ae32958bbf165c2829d2f9bf (patch) | |
tree | 814d993ece009989af083bb95759e74331753b65 /src/map/script.c | |
parent | c7a6a1eeb552fcc48f3937cea044cd5f658c262c (diff) | |
download | hercules-aa1c480aa0140098ae32958bbf165c2829d2f9bf.tar.gz hercules-aa1c480aa0140098ae32958bbf165c2829d2f9bf.tar.bz2 hercules-aa1c480aa0140098ae32958bbf165c2829d2f9bf.tar.xz hercules-aa1c480aa0140098ae32958bbf165c2829d2f9bf.zip |
expose bank vault to the script engine
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index d1806cb41..6b996a11c 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}, @@ -23679,6 +23680,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); |