mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 07:06:23 +00:00
Creature type flags (#2195)
fix(Core/Creature): refactoring creature type flags and adding CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES - closes #1984
This commit is contained in:
@@ -2567,38 +2567,38 @@ enum CreatureFamily
|
||||
|
||||
enum CreatureTypeFlags
|
||||
{
|
||||
CREATURE_TYPEFLAGS_TAMEABLE = 0x00000001, // Tameable by any hunter
|
||||
CREATURE_TYPEFLAGS_GHOST = 0x00000002, // Creature are also visible for not alive player. Allow gossip interaction if npcflag allow?
|
||||
CREATURE_TYPEFLAGS_BOSS = 0x00000004,
|
||||
CREATURE_TYPEFLAGS_UNK3 = 0x00000008,
|
||||
CREATURE_TYPEFLAGS_UNK4 = 0x00000010,
|
||||
CREATURE_TYPEFLAGS_UNK5 = 0x00000020,
|
||||
CREATURE_TYPEFLAGS_UNK6 = 0x00000040,
|
||||
CREATURE_TYPEFLAGS_DEAD_INTERACT = 0x00000080, // Player can interact with the creature if its dead (not player dead)
|
||||
CREATURE_TYPEFLAGS_HERBLOOT = 0x00000100, // Can be looted by herbalist
|
||||
CREATURE_TYPEFLAGS_MININGLOOT = 0x00000200, // Can be looted by miner
|
||||
CREATURE_TYPEFLAGS_DONT_LOG_DEATH = 0x00000400, // Death event will not show up in combat log
|
||||
CREATURE_TYPEFLAGS_MOUNTED_COMBAT = 0x00000800, // Creature can remain mounted when entering combat
|
||||
CREATURE_TYPEFLAGS_AID_PLAYERS = 0x00001000, // ? Can aid any player in combat if in range?
|
||||
CREATURE_TYPEFLAGS_UNK13 = 0x00002000,
|
||||
CREATURE_TYPEFLAGS_UNK14 = 0x00004000, // ? Possibly not in use
|
||||
CREATURE_TYPEFLAGS_ENGINEERLOOT = 0x00008000, // Can be looted by engineer
|
||||
CREATURE_TYPEFLAGS_EXOTIC = 0x00010000, // Can be tamed by hunter as exotic pet
|
||||
CREATURE_TYPEFLAGS_UNK17 = 0x00020000, // ? Related to vehicles/pvp?
|
||||
CREATURE_TYPEFLAGS_UNK18 = 0x00040000, // ? Related to vehicle/siege weapons?
|
||||
CREATURE_TYPEFLAGS_PROJECTILE_COLLISION = 0x00080000, // Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ
|
||||
CREATURE_TYPEFLAGS_UNK20 = 0x00100000,
|
||||
CREATURE_TYPEFLAGS_UNK21 = 0x00200000,
|
||||
CREATURE_TYPEFLAGS_UNK22 = 0x00400000,
|
||||
CREATURE_TYPEFLAGS_UNK23 = 0x00800000, // ? First seen in 3.2.2. Related to banner/backpack of creature/companion?
|
||||
CREATURE_TYPEFLAGS_UNK24 = 0x01000000,
|
||||
CREATURE_TYPEFLAGS_UNK25 = 0x02000000,
|
||||
CREATURE_TYPEFLAGS_PARTY_MEMBER = 0x04000000, //! Creature can be targeted by spells that require target to be in caster's party/raid
|
||||
CREATURE_TYPEFLAGS_UNK27 = 0x08000000,
|
||||
CREATURE_TYPEFLAGS_UNK28 = 0x10000000,
|
||||
CREATURE_TYPEFLAGS_UNK29 = 0x20000000,
|
||||
CREATURE_TYPEFLAGS_UNK30 = 0x40000000,
|
||||
CREATURE_TYPEFLAGS_UNK31 = 0x80000000,
|
||||
CREATURE_TYPE_FLAG_TAMEABLE_PET = 0x00000001, // Makes the mob tameable (must also be a beast and have family set)
|
||||
CREATURE_TYPE_FLAG_GHOST_VISIBLE = 0x00000002, // Creature are also visible for not alive player. Allow gossip interaction if npcflag allow?
|
||||
CREATURE_TYPE_FLAG_BOSS_MOB = 0x00000004, // Changes creature's visible level to "??" in the creature's portrait - Immune Knockback.
|
||||
CREATURE_TYPE_FLAG_DO_NOT_PLAY_WOUND_PARRY_ANIMATION = 0x00000008,
|
||||
CREATURE_TYPE_FLAG_HIDE_FACTION_TOOLTIP = 0x00000010,
|
||||
CREATURE_TYPE_FLAG_UNK5 = 0x00000020, // Sound related
|
||||
CREATURE_TYPE_FLAG_SPELL_ATTACKABLE = 0x00000040,
|
||||
CREATURE_TYPE_FLAG_CAN_INTERACT_WHILE_DEAD = 0x00000080, // Player can interact with the creature if its dead (not player dead)
|
||||
CREATURE_TYPE_FLAG_HERB_SKINNING_SKILL = 0x00000100, // Can be looted by herbalist
|
||||
CREATURE_TYPE_FLAG_MINING_SKINNING_SKILL = 0x00000200, // Can be looted by miner
|
||||
CREATURE_TYPE_FLAG_DO_NOT_LOG_DEATH = 0x00000400, // Death event will not show up in combat log
|
||||
CREATURE_TYPE_FLAG_MOUNTED_COMBAT_ALLOWED = 0x00000800, // Creature can remain mounted when entering combat
|
||||
CREATURE_TYPE_FLAG_CAN_ASSIST = 0x00001000, // ? Can aid any player in combat if in range?
|
||||
CREATURE_TYPE_FLAG_IS_PET_BAR_USED = 0x00002000,
|
||||
CREATURE_TYPE_FLAG_MASK_UID = 0x00004000,
|
||||
CREATURE_TYPE_FLAG_ENGINEERING_SKINNING_SKILL = 0x00008000, // Can be looted by engineer
|
||||
CREATURE_TYPE_FLAG_EXOTIC_PET = 0x00010000, // Can be tamed by hunter as exotic pet
|
||||
CREATURE_TYPE_FLAG_USE_DEFAULT_COLLISION_BOX = 0x00020000, // Collision related. (always using default collision box?)
|
||||
CREATURE_TYPE_FLAG_IS_SIEGE_WEAPON = 0x00040000,
|
||||
CREATURE_TYPE_FLAG_CAN_COLLIDE_WITH_MISSILES = 0x00080000, // Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ
|
||||
CREATURE_TYPE_FLAG_HIDE_NAME_PLATE = 0x00100000,
|
||||
CREATURE_TYPE_FLAG_DO_NOT_PLAY_MOUNTED_ANIMATIONS = 0x00200000,
|
||||
CREATURE_TYPE_FLAG_IS_LINK_ALL = 0x00400000,
|
||||
CREATURE_TYPE_FLAG_INTERACT_ONLY_WITH_CREATOR = 0x00800000,
|
||||
CREATURE_TYPE_FLAG_DO_NOT_PLAY_UNIT_EVENT_SOUNDS = 0x01000000,
|
||||
CREATURE_TYPE_FLAG_HAS_NO_SHADOW_BLOB = 0x02000000,
|
||||
CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT = 0x04000000, // ! Creature can be targeted by spells that require target to be in caster's party/raid
|
||||
CREATURE_TYPE_FLAG_FORCE_GOSSIP = 0x08000000, // Allows the creature to display a single gossip option.
|
||||
CREATURE_TYPE_FLAG_DO_NOT_SHEATHE = 0x10000000,
|
||||
CREATURE_TYPE_FLAG_DO_NOT_TARGET_ON_INTERACTION = 0x20000000,
|
||||
CREATURE_TYPE_FLAG_DO_NOT_RENDER_OBJECT_NAME = 0x40000000,
|
||||
CREATURE_TYPE_FLAG_UNIT_IS_QUEST_BOSS = 0x80000000 // Not verified
|
||||
};
|
||||
|
||||
enum CreatureEliteType
|
||||
|
||||
Reference in New Issue
Block a user