diff options
author | Haru <haru@dotalux.com> | 2017-11-04 21:16:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 21:16:03 +0100 |
commit | 41f3237e4537d7105fb47d56b455d31cf33c155c (patch) | |
tree | be03ffc4b7ad3e54da03cb8f9918516a6c3fc6d6 /src/map/mob.h | |
parent | 94a8ddedf7307aab1452fbd0da80d3b8b254eaf1 (diff) | |
parent | 3e03556e510feb34b6f590574cd3025ef54739a6 (diff) | |
download | hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.tar.gz hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.tar.bz2 hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.tar.xz hercules-41f3237e4537d7105fb47d56b455d31cf33c155c.zip |
Merge pull request #1889 from 4144/fixpackets
Fix boss flag and add 2017-10-25 client packets
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 8 |
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; |