diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-27 04:52:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-30 04:39:52 +0300 |
commit | aa8466c0b83f12599305032df5c86b8ec59ae444 (patch) | |
tree | 1a006e6b1bfc5d710549f55af0493868ac333682 /src/map/mob.c | |
parent | 9519c40b00802dfb22070884820ab4a26d7c5ba5 (diff) | |
download | hercules-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/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 822b84bf4..208617b5d 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2686,7 +2686,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) { return 5; // Note: Actually, it's 4. Oh well... // MvP tomb [GreenBox] - if (battle_config.mvp_tomb_enabled && md->spawn->state.boss && map->list[md->bl.m].flag.notomb != 1) + if (battle_config.mvp_tomb_enabled && md->spawn->state.boss == BTYPE_MVP && map->list[md->bl.m].flag.notomb != 1) mob->mvptomb_create(md, mvp_sd ? mvp_sd->status.name : NULL, time(NULL)); if( !rebirth ) { |