summaryrefslogtreecommitdiff
path: root/src/map/mob.h
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/mob.h
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/mob.h')
-rw-r--r--src/map/mob.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h
index 7f2accedf..83e022899 100644
--- a/src/map/mob.h
+++ b/src/map/mob.h
@@ -69,6 +69,12 @@ struct hplugin_data_store;
// Disable this to make monsters not do any path search when looking for a target (old behavior).
#define ACTIVEPATHSEARCH
+enum e_bosstype {
+ BTYPE_NONE = 0,
+ BTYPE_BOSS = 1,
+ BTYPE_MVP = 2,
+};
+
//Mob skill states.
enum MobSkillState {
MSS_ANY = -1,
@@ -181,10 +187,10 @@ struct mob_data {
unsigned int spotted: 1;
unsigned int npc_killmonster: 1; //for new killmonster behavior
unsigned int rebirth: 1; // NPC_Rebirth used
- unsigned int boss : 1;
enum MobSkillState skillstate;
unsigned char steal_flag; //number of steal tries (to prevent steal exploit on mobs with few items) [Lupus]
unsigned char attacked_count; //For rude attacked.
+ uint8 boss;
int provoke_flag; // Celest
} state;
struct guardian_data* guardian_data;