From 148ab787d51c7c9c71540f799d37fb748cf19135 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Thu, 17 Nov 2022 13:37:20 +0000 Subject: MobInfo * includes @mobinfo ingame command aswell as mobinfo functions for scripts * enhanced summon script command to take a name to support spawn names * moved @summon to where other mob related commands are * added enchanter and koyntety cooldown symbols * some translations * some constants added for drops and mobs --- src/map/globals.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/globals.hpp') diff --git a/src/map/globals.hpp b/src/map/globals.hpp index 107ed5e..2fcdd95 100644 --- a/src/map/globals.hpp +++ b/src/map/globals.hpp @@ -36,6 +36,7 @@ #include "../mmo/skill.t.hpp" #include "consts.hpp" +#include "mob.hpp" #include "script-buffer.hpp" @@ -63,7 +64,7 @@ namespace tmwa extern block_list bl_head; extern std::unique_ptr map_logfile; extern long map_logfile_index; - extern mob_db_ mob_db[2001]; + extern mob_db_ mob_db[MaxMobID+1]; extern std::list npc_srcs; extern int npc_warp, npc_shop, npc_script, npc_mob; extern BlockId npc_id; -- cgit v1.2.3-60-g2f50