summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2014-09-01 02:50:15 +0800
committerAnnieRuru <jeankof@ymail.com>2014-09-01 02:50:15 +0800
commitbac319d7f99c9a87c20774a50e13d9c80d2aaf8a (patch)
tree9ead1053a65088db3b73666e227ad66cfcc91136 /src
parent2ebfb09d86d7cda778f555c693ef7492515e07d3 (diff)
downloadhercules-bac319d7f99c9a87c20774a50e13d9c80d2aaf8a.tar.gz
hercules-bac319d7f99c9a87c20774a50e13d9c80d2aaf8a.tar.bz2
hercules-bac319d7f99c9a87c20774a50e13d9c80d2aaf8a.tar.xz
hercules-bac319d7f99c9a87c20774a50e13d9c80d2aaf8a.zip
Add MAX_REFINE as hard-coded constant
MAX_REFINE has different value for renewal(20) and non-renewal(10) and some server even adjust this value so its better to add this constant so there's no need to add a configuration when making custom refiner scripts
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
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);