summaryrefslogtreecommitdiff
path: root/src/map/mob.hpp
diff options
context:
space:
mode:
authorJesusalva Jesusalva <jesusalva@themanaworld.org>2022-11-17 13:37:20 +0000
committerJesusalva Jesusalva <jesusalva@themanaworld.org>2022-11-17 13:37:20 +0000
commit1c3b142131b4a3f987ed8667d9e72ad1dda09065 (patch)
tree7e61e57523062bdbee2a39c7e95897ce57c32cf7 /src/map/mob.hpp
parentde1a0ca22db4a49345b02b653efa3091cd08a2db (diff)
parent148ab787d51c7c9c71540f799d37fb748cf19135 (diff)
downloadtmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.tar.gz
tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.tar.bz2
tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.tar.xz
tmwa-1c3b142131b4a3f987ed8667d9e72ad1dda09065.zip
Merge branch 'mobinfo' into 'master'
Mobinfo See merge request legacy/tmwa!237
Diffstat (limited to 'src/map/mob.hpp')
-rw-r--r--src/map/mob.hpp6
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]