summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-27 04:52:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-30 04:39:52 +0300
commitaa8466c0b83f12599305032df5c86b8ec59ae444 (patch)
tree1a006e6b1bfc5d710549f55af0493868ac333682 /src/map/map.c
parent9519c40b00802dfb22070884820ab4a26d7c5ba5 (diff)
downloadhercules-aa8466c0b83f12599305032df5c86b8ec59ae444.tar.gz
hercules-aa8466c0b83f12599305032df5c86b8ec59ae444.tar.bz2
hercules-aa8466c0b83f12599305032df5c86b8ec59ae444.tar.xz
hercules-aa8466c0b83f12599305032df5c86b8ec59ae444.zip
Add monster spawn boss flag for miniboss: miniboss_monster
also fix boss_monster flag for works as mvp and not like mini boss. unhide boss flag if hp bar disabled.
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index ff5c2aafd..5a647625f 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1840,7 +1840,7 @@ void map_addiddb(struct block_list *bl)
struct mob_data *md = BL_UCAST(BL_MOB, bl);
idb_put(map->mobid_db,bl->id,bl);
- if( md->state.boss )
+ if (md->state.boss == BTYPE_MVP)
idb_put(map->bossid_db, bl->id, bl);
}