diff options
author | gumi <git@gumi.ca> | 2019-08-23 14:06:56 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-08-23 14:11:00 -0400 |
commit | 93595818978b50428c311d5ba20f2b8f102b6a4b (patch) | |
tree | c048e007dfb7bf2f82f4341ed16ba783240a0dd5 /src/map/map.hpp | |
parent | e1c1b70df9d58223aa8d0ed851ee7179832ce662 (diff) | |
download | tmwa-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.hpp | 3 |
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; |