From bac319d7f99c9a87c20774a50e13d9c80d2aaf8a Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Mon, 1 Sep 2014 02:50:15 +0800 Subject: 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 --- src/map/script.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map') 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); -- cgit v1.2.3-70-g09d2