summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-02-26 21:25:51 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-02-26 21:25:51 +0800
commitc8e10d633d67b0ba0ff9d07d8521390a54aa63a3 (patch)
treeb09a578cbca146796111088734dca08a3136ffc9
parentd496d8963fb4c2eb9015a2911a88299e29644681 (diff)
downloadhercules-c8e10d633d67b0ba0ff9d07d8521390a54aa63a3.tar.gz
hercules-c8e10d633d67b0ba0ff9d07d8521390a54aa63a3.tar.bz2
hercules-c8e10d633d67b0ba0ff9d07d8521390a54aa63a3.tar.xz
hercules-c8e10d633d67b0ba0ff9d07d8521390a54aa63a3.zip
Add MOB_CLONE_START & MOB_CLONE_END to server defined constants
-rw-r--r--doc/script_commands.txt2
-rw-r--r--src/map/script.c2
2 files changed, 4 insertions, 0 deletions
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);