summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/script_commands.txt1
-rw-r--r--src/map/script.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index e964385ba..3a65c86dd 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -702,6 +702,7 @@ MAX_INVENTORY - Maximum inventory items
MAX_ZENY - Maximum Zeny
MAX_BG_MEMBERS - Maximum BattleGround members
MAX_CHAT_USERS - Maximum Chat users
+MAX_REFINE - Maximum Refine level
Send targets and status options are also hard-coded and can be found
in src/map/script.c::script_hardcoded_constants or in functions that
diff --git a/src/map/script.c b/src/map/script.c
index 26072cf66..2c893219c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -19282,6 +19282,7 @@ void script_hardcoded_constants(void) {
script->set_constant("MAX_ZENY",MAX_ZENY,false);
script->set_constant("MAX_BG_MEMBERS",MAX_BG_MEMBERS,false);
script->set_constant("MAX_CHAT_USERS",MAX_CHAT_USERS,false);
+ script->set_constant("MAX_REFINE",MAX_REFINE,false);
/* status options */
script->set_constant("Option_Nothing",OPTION_NOTHING,false);