From c8e10d633d67b0ba0ff9d07d8521390a54aa63a3 Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Tue, 26 Feb 2019 21:25:51 +0800 Subject: Add MOB_CLONE_START & MOB_CLONE_END to server defined constants --- doc/script_commands.txt | 2 ++ src/map/script.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index db851128f..71a370832 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -718,6 +718,8 @@ MAX_CHAT_USERS - Maximum Chat users MAX_REFINE - Maximum Refine level MAX_MENU_OPTIONS - Maximum NPC menu options MAX_MENU_LENGTH - Maximum NPC menu string length +MOB_CLONE_START - Clone ID start from this range +MOB_CLONE_END - Clone ID end with this range Send targets and status options are also hard-coded and can be found in 'doc/constants.md'. diff --git a/src/map/script.c b/src/map/script.c index 7578fcdcc..013455c71 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -25845,6 +25845,8 @@ static void script_hardcoded_constants(void) script->set_constant("MAX_REFINE",MAX_REFINE,false, false); script->set_constant("MAX_MENU_OPTIONS", MAX_MENU_OPTIONS, false, false); script->set_constant("MAX_MENU_LENGTH", MAX_MENU_LENGTH, false, false); + script->set_constant("MOB_CLONE_START", MOB_CLONE_START, false, false); + script->set_constant("MOB_CLONE_END", MOB_CLONE_END, false, false); script->constdb_comment("status options"); script->set_constant("Option_Nothing",OPTION_NOTHING,false, false); -- cgit v1.2.3-60-g2f50