diff options
author | HoraK-FDF <horak-fdf@web.de> | 2022-11-17 13:37:20 +0000 |
---|---|---|
committer | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2022-11-17 13:37:20 +0000 |
commit | 148ab787d51c7c9c71540f799d37fb748cf19135 (patch) | |
tree | c29a691b1692960bda8589ad7cf78b94d5202aa2 /src/map/globals.cpp | |
parent | 1b097707c019a1c9a121998be942a7237a7f3592 (diff) | |
download | tmwa-148ab787d51c7c9c71540f799d37fb748cf19135.tar.gz tmwa-148ab787d51c7c9c71540f799d37fb748cf19135.tar.bz2 tmwa-148ab787d51c7c9c71540f799d37fb748cf19135.tar.xz tmwa-148ab787d51c7c9c71540f799d37fb748cf19135.zip |
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
Diffstat (limited to 'src/map/globals.cpp')
-rw-r--r-- | src/map/globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<io::AppendFile> map_logfile; long map_logfile_index; - mob_db_ mob_db[2001]; + mob_db_ mob_db[MaxMobID+1]; std::list<AString> npc_srcs; int npc_warp, npc_shop, npc_script, npc_mob; BlockId npc_id = START_NPC_NUM; |