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.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/globals.cpp') diff --git a/src/map/globals.cpp b/src/map/globals.cpp index 97533c8..d2c1993 100644 --- a/src/map/globals.cpp +++ b/src/map/globals.cpp @@ -70,7 +70,7 @@ namespace tmwa block_list bl_head; std::unique_ptr map_logfile; long map_logfile_index; - mob_db_ mob_db[2001]; + mob_db_ mob_db[MaxMobID+1]; std::list npc_srcs; int npc_warp, npc_shop, npc_script, npc_mob; BlockId npc_id = START_NPC_NUM; -- cgit v1.2.3-70-g09d2