summaryrefslogtreecommitdiff
path: root/src/map/map.hpp
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-08-23 14:06:56 -0400
committergumi <git@gumi.ca>2019-08-23 14:11:00 -0400
commit93595818978b50428c311d5ba20f2b8f102b6a4b (patch)
treec048e007dfb7bf2f82f4341ed16ba783240a0dd5 /src/map/map.hpp
parente1c1b70df9d58223aa8d0ed851ee7179832ce662 (diff)
downloadtmwa-93595818978b50428c311d5ba20f2b8f102b6a4b.tar.gz
tmwa-93595818978b50428c311d5ba20f2b8f102b6a4b.tar.bz2
tmwa-93595818978b50428c311d5ba20f2b8f102b6a4b.tar.xz
tmwa-93595818978b50428c311d5ba20f2b8f102b6a4b.zip
allow to summon multiple mobs with @summon
Diffstat (limited to 'src/map/map.hpp')
-rw-r--r--src/map/map.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.hpp b/src/map/map.hpp
index eddbfad..42ca151 100644
--- a/src/map/map.hpp
+++ b/src/map/map.hpp
@@ -482,7 +482,8 @@ struct mob_data : block_list
struct mob_skill *skillidx;
std::unique_ptr<tick_t[]> skilldelayup; // [MAX_MOBSKILL];
LevelElement def_ele;
- BlockId master_id;
+ BlockId parent_id; // monster that spawned this mob
+ BlockId master_id; // player that owns the parent
BlockId last_master_id;
int master_dist;
int exclusion_src, exclusion_party;