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/mob.hpp | |
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/mob.hpp')
-rw-r--r-- | src/map/mob.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/mob.hpp b/src/map/mob.hpp index a466d0b..47da095 100644 --- a/src/map/mob.hpp +++ b/src/map/mob.hpp @@ -43,6 +43,10 @@ namespace map #define JAPANESE_NAME stringish<MobName>("--ja--"_s) #define MOB_THIS_MAP stringish<MapName>("this"_s) +#define MaxDrops 8 +#define MinMobID 1001 +#define MaxMobID 2000 + struct mob_skill { MobSkillState state; @@ -79,7 +83,7 @@ struct mob_db_ { ItemNameId nameid; random_::Fixed<int, 10000> p; - } dropitem[8]; + } dropitem[MaxDrops]; short hair, hair_color, weapon; ItemNameId shield, head_top, head_mid, head_buttom; short option, clothes_color; // [Valaris] |