TrinityCore
Loading...
Searching...
No Matches
CreatureData.h File Reference
#include "DBCEnums.h"
#include "SharedDefines.h"
#include "SpawnData.h"
#include "UnitDefines.h"
#include "WorldPacket.h"
#include <string>
#include <unordered_map>
#include <vector>
#include <cmath>
+ Include dependency graph for CreatureData.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CreatureMovementData
 
struct  CreatureTemplate
 
struct  CreatureBaseStats
 
struct  CreatureLocale
 
struct  EquipmentInfo
 
struct  CreatureData
 
struct  CreatureModelInfo
 
struct  CreatureAddon
 
struct  VendorItem
 
struct  VendorItemData
 

Enumerations

enum  CreatureStaticFlags {
  CREATURE_STATIC_FLAG_MOUNTABLE = 0x00000001 , CREATURE_STATIC_FLAG_NO_XP = 0x00000002 , CREATURE_STATIC_FLAG_NO_LOOT = 0x00000004 , CREATURE_STATIC_FLAG_UNKILLABLE = 0x00000008 ,
  CREATURE_STATIC_FLAG_TAMEABLE = 0x00000010 , CREATURE_STATIC_FLAG_IMMUNE_TO_PC = 0x00000020 , CREATURE_STATIC_FLAG_IMMUNE_TO_NPC = 0x00000040 , CREATURE_STATIC_FLAG_CAN_WIELD_LOOT = 0x00000080 ,
  CREATURE_STATIC_FLAG_SESSILE = 0x00000100 , CREATURE_STATIC_FLAG_UNINTERACTIBLE = 0x00000200 , CREATURE_STATIC_FLAG_NO_AUTOMATIC_REGEN = 0x00000400 , CREATURE_STATIC_FLAG_DESPAWN_INSTANTLY = 0x00000800 ,
  CREATURE_STATIC_FLAG_CORPSE_RAID = 0x00001000 , CREATURE_STATIC_FLAG_CREATOR_LOOT = 0x00002000 , CREATURE_STATIC_FLAG_NO_DEFENSE = 0x00004000 , CREATURE_STATIC_FLAG_NO_SPELL_DEFENSE = 0x00008000 ,
  CREATURE_STATIC_FLAG_BOSS_MOB = 0x00010000 , CREATURE_STATIC_FLAG_COMBAT_PING = 0x00020000 , CREATURE_STATIC_FLAG_AQUATIC = 0x00040000 , CREATURE_STATIC_FLAG_AMPHIBIOUS = 0x00080000 ,
  CREATURE_STATIC_FLAG_NO_MELEE_FLEE = 0x00100000 , CREATURE_STATIC_FLAG_VISIBLE_TO_GHOSTS = 0x00200000 , CREATURE_STATIC_FLAG_PVP_ENABLING = 0x00400000 , CREATURE_STATIC_FLAG_DO_NOT_PLAY_WOUND_ANIM = 0x00800000 ,
  CREATURE_STATIC_FLAG_NO_FACTION_TOOLTIP = 0x01000000 , CREATURE_STATIC_FLAG_IGNORE_COMBAT = 0x02000000 , CREATURE_STATIC_FLAG_ONLY_ATTACK_PVP_ENABLING = 0x04000000 , CREATURE_STATIC_FLAG_CALLS_GUARDS = 0x08000000 ,
  CREATURE_STATIC_FLAG_CAN_SWIM = 0x10000000 , CREATURE_STATIC_FLAG_FLOATING = 0x20000000 , CREATURE_STATIC_FLAG_MORE_AUDIBLE = 0x40000000 , CREATURE_STATIC_FLAG_LARGE_AOI = 0x80000000
}
 
enum  CreatureStaticFlags2 {
  CREATURE_STATIC_FLAG_2_NO_PET_SCALING = 0x00000001 , CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT = 0x00000002 , CREATURE_STATIC_FLAG_2_RAID_LOCK_ON_DEATH = 0x00000004 , CREATURE_STATIC_FLAG_2_SPELL_ATTACKABLE = 0x00000008 ,
  CREATURE_STATIC_FLAG_2_NO_CRUSHING_BLOWS = 0x00000010 , CREATURE_STATIC_FLAG_2_NO_OWNER_THREAT = 0x00000020 , CREATURE_STATIC_FLAG_2_NO_WOUNDED_SLOWDOWN = 0x00000040 , CREATURE_STATIC_FLAG_2_USE_CREATOR_BONUSES = 0x00000080 ,
  CREATURE_STATIC_FLAG_2_IGNORE_FEIGN_DEATH = 0x00000100 , CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY = 0x00000200 , CREATURE_STATIC_FLAG_2_ACTION_TRIGGERS_WHILE_CHARMED = 0x00000400 , CREATURE_STATIC_FLAG_2_INTERACT_WHILE_DEAD = 0x00000800 ,
  CREATURE_STATIC_FLAG_2_NO_INTERRUPT_SCHOOL_COOLDOWN = 0x00001000 , CREATURE_STATIC_FLAG_2_RETURN_SOUL_SHARD_TO_MASTER_OF_PET = 0x00002000 , CREATURE_STATIC_FLAG_2_SKIN_WITH_HERBALISM = 0x00004000 , CREATURE_STATIC_FLAG_2_SKIN_WITH_MINING = 0x00008000 ,
  CREATURE_STATIC_FLAG_2_ALERT_CONTENT_TEAM_ON_DEATH = 0x00010000 , CREATURE_STATIC_FLAG_2_ALERT_CONTENT_TEAM_AT_90PTC_HP = 0x00020000 , CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT = 0x00040000 , CREATURE_STATIC_FLAG_2_PVP_ENABLING_OOC = 0x00080000 ,
  CREATURE_STATIC_FLAG_2_NO_DEATH_MESSAGE = 0x00100000 , CREATURE_STATIC_FLAG_2_IGNORE_PATHING_FAILURE = 0x00200000 , CREATURE_STATIC_FLAG_2_FULL_SPELL_LIST = 0x00400000 , CREATURE_STATIC_FLAG_2_DOES_NOT_REDUCE_REPUTATION_FOR_RAIDS = 0x00800000 ,
  CREATURE_STATIC_FLAG_2_IGNORE_MISDIRECTION = 0x01000000 , CREATURE_STATIC_FLAG_2_HIDE_BODY = 0x02000000 , CREATURE_STATIC_FLAG_2_SPAWN_DEFENSIVE = 0x04000000 , CREATURE_STATIC_FLAG_2_SERVER_ONLY = 0x08000000 ,
  CREATURE_STATIC_FLAG_2_CAN_SAFE_FALL = 0x10000000 , CREATURE_STATIC_FLAG_2_CAN_ASSIST = 0x20000000 , CREATURE_STATIC_FLAG_2_NO_SKILL_GAINS = 0x40000000 , CREATURE_STATIC_FLAG_2_NO_PET_BAR = 0x80000000
}
 
enum  CreatureStaticFlags3 {
  CREATURE_STATIC_FLAG_3_NO_DAMAGE_HISTORY = 0x00000001 , CREATURE_STATIC_FLAG_3_DONT_PVP_ENABLE_OWNER = 0x00000002 , CREATURE_STATIC_FLAG_3_DO_NOT_FADE_IN = 0x00000004 , CREATURE_STATIC_FLAG_3_MASK_UID = 0x00000008 ,
  CREATURE_STATIC_FLAG_3_SKIN_WITH_ENGINEERING = 0x00000010 , CREATURE_STATIC_FLAG_3_NO_AGGRO_ON_LEASH = 0x00000020 , CREATURE_STATIC_FLAG_3_NO_FRIENDLY_AREA_AURAS = 0x00000040 , CREATURE_STATIC_FLAG_3_EXTENDED_CORPSE_DURATION = 0x00000080 ,
  CREATURE_STATIC_FLAG_3_CANNOT_SWIM = 0x00000100 , CREATURE_STATIC_FLAG_3_TAMEABLE_EXOTIC = 0x00000200 , CREATURE_STATIC_FLAG_3_GIGANTIC_AOI = 0x00000400 , CREATURE_STATIC_FLAG_3_INFINITE_AOI = 0x00000800 ,
  CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER = 0x00001000 , CREATURE_STATIC_FLAG_3_NO_NAME_PLATE = 0x00002000 , CREATURE_STATIC_FLAG_3_CHECKS_LIQUIDS = 0x00004000 , CREATURE_STATIC_FLAG_3_NO_THREAT_FEEDBACK = 0x00008000 ,
  CREATURE_STATIC_FLAG_3_USE_MODEL_COLLISION_SIZE = 0x00010000 , CREATURE_STATIC_FLAG_3_ATTACKER_IGNORES_FACING = 0x00020000 , CREATURE_STATIC_FLAG_3_ALLOW_INTERACTION_WHILE_IN_COMBAT = 0x00040000 , CREATURE_STATIC_FLAG_3_SPELL_CLICK_FOR_PARTY_ONLY = 0x00080000 ,
  CREATURE_STATIC_FLAG_3_FACTION_LEADER = 0x00100000 , CREATURE_STATIC_FLAG_3_IMMUNE_TO_PLAYER_BUFFS = 0x00200000 , CREATURE_STATIC_FLAG_3_COLLIDE_WITH_MISSILES = 0x00400000 , CREATURE_STATIC_FLAG_3_CAN_BE_MULTITAPPED = 0x00800000 ,
  CREATURE_STATIC_FLAG_3_DO_NOT_PLAY_MOUNTED_ANIMATIONS = 0x01000000 , CREATURE_STATIC_FLAG_3_CANNOT_TURN = 0x02000000 , CREATURE_STATIC_FLAG_3_ENEMY_CHECK_IGNORES_LOS = 0x04000000 , CREATURE_STATIC_FLAG_3_FOREVER_CORPSE_DURATION = 0x08000000 ,
  CREATURE_STATIC_FLAG_3_PETS_ATTACK_WITH_3D_PATHING = 0x10000000 , CREATURE_STATIC_FLAG_3_LINK_ALL = 0x20000000 , CREATURE_STATIC_FLAG_3_AI_CAN_AUTO_TAKEOFF_IN_COMBAT = 0x40000000 , CREATURE_STATIC_FLAG_3_AI_CAN_AUTO_LAND_IN_COMBAT = 0x80000000
}
 
enum  CreatureStaticFlags4 {
  CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM = 0x00000001 , CREATURE_STATIC_FLAG_4_TREAT_AS_PLAYER_FOR_DIMINISHING_RETURNS = 0x00000002 , CREATURE_STATIC_FLAG_4_TREAT_AS_PLAYER_FOR_PVP_DEBUFF_DURATION = 0x00000004 , CREATURE_STATIC_FLAG_4_INTERACT_ONLY_WITH_CREATOR = 0x00000008 ,
  CREATURE_STATIC_FLAG_4_DO_NOT_PLAY_UNIT_EVENT_SOUNDS = 0x00000010 , CREATURE_STATIC_FLAG_4_HAS_NO_SHADOW_BLOB = 0x00000020 , CREATURE_STATIC_FLAG_4_DEALS_TRIPLE_DAMAGE_TO_PC_CONTROLLED_PETS = 0x00000040 , CREATURE_STATIC_FLAG_4_NO_NPC_DAMAGE_BELOW_85PTC = 0x00000080 ,
  CREATURE_STATIC_FLAG_4_OBEYS_TAUNT_DIMINISHING_RETURNS = 0x00000100 , CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH = 0x00000200 , CREATURE_STATIC_FLAG_4_UPDATE_CREATURE_RECORD_WHEN_INSTANCE_CHANGES_DIFFICULTY = 0x00000400 , CREATURE_STATIC_FLAG_4_CANNOT_DAZE = 0x00000800 ,
  CREATURE_STATIC_FLAG_4_FLAT_HONOR_AWARD = 0x00001000 , CREATURE_STATIC_FLAG_4_IGNORE_LOS_WHEN_CASTING_ON_ME = 0x00002000 , CREATURE_STATIC_FLAG_4_GIVE_QUEST_KILL_CREDIT_WHILE_OFFLINE = 0x00004000 , CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS = 0x00008000 ,
  CREATURE_STATIC_FLAG_4_DONT_REPOSITION_IF_MELEE_TARGET_IS_TOO_CLOSE = 0x00010000 , CREATURE_STATIC_FLAG_4_PET_OR_GUARDIAN_AI_DONT_GO_BEHIND_TARGET = 0x00020000 , CREATURE_STATIC_FLAG_4_5_MINUTE_LOOT_ROLL_TIMER = 0x00040000 , CREATURE_STATIC_FLAG_4_FORCE_GOSSIP = 0x00080000 ,
  CREATURE_STATIC_FLAG_4_DONT_REPOSITION_WITH_FRIENDS_IN_COMBAT = 0x00100000 , CREATURE_STATIC_FLAG_4_DO_NOT_SHEATHE = 0x00200000 , CREATURE_STATIC_FLAG_4_IGNORE_SPELL_MIN_RANGE_RESTRICTIONS = 0x00400000 , CREATURE_STATIC_FLAG_4_SUPPRESS_INSTANCE_WIDE_RELEASE_IN_COMBAT = 0x00800000 ,
  CREATURE_STATIC_FLAG_4_PREVENT_SWIM = 0x01000000 , CREATURE_STATIC_FLAG_4_HIDE_IN_COMBAT_LOG = 0x02000000 , CREATURE_STATIC_FLAG_4_ALLOW_NPC_COMBAT_WHILE_UNINTERACTIBLE = 0x04000000 , CREATURE_STATIC_FLAG_4_PREFER_NPCS_WHEN_SEARCHING_FOR_ENEMIES = 0x08000000 ,
  CREATURE_STATIC_FLAG_4_ONLY_GENERATE_INITIAL_THREAT = 0x10000000 , CREATURE_STATIC_FLAG_4_DO_NOT_TARGET_ON_INTERACTION = 0x20000000 , CREATURE_STATIC_FLAG_4_DO_NOT_RENDER_OBJECT_NAME = 0x40000000 , CREATURE_STATIC_FLAG_4_QUEST_BOSS = 0x80000000
}
 
enum  CreatureFlagsExtra : uint32 {
  CREATURE_FLAG_EXTRA_INSTANCE_BIND = 0x00000001 , CREATURE_FLAG_EXTRA_CIVILIAN = 0x00000002 , CREATURE_FLAG_EXTRA_NO_PARRY = 0x00000004 , CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN = 0x00000008 ,
  CREATURE_FLAG_EXTRA_NO_BLOCK = 0x00000010 , CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS = 0x00000020 , CREATURE_FLAG_EXTRA_NO_XP = 0x00000040 , CREATURE_FLAG_EXTRA_TRIGGER = 0x00000080 ,
  CREATURE_FLAG_EXTRA_NO_TAUNT = 0x00000100 , CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE = 0x00000200 , CREATURE_FLAG_EXTRA_GHOST_VISIBILITY = 0x00000400 , CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK = 0x00000800 ,
  CREATURE_FLAG_EXTRA_NO_SELL_VENDOR = 0x00001000 , CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT = 0x00002000 , CREATURE_FLAG_EXTRA_WORLDEVENT = 0x00004000 , CREATURE_FLAG_EXTRA_GUARD = 0x00008000 ,
  CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH = 0x00010000 , CREATURE_FLAG_EXTRA_NO_CRIT = 0x00020000 , CREATURE_FLAG_EXTRA_NO_SKILL_GAINS = 0x00040000 , CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS = 0x00080000 ,
  CREATURE_FLAG_EXTRA_ALL_DIMINISH = 0x00100000 , CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ = 0x00200000 , CREATURE_FLAG_EXTRA_UNUSED_22 = 0x00400000 , CREATURE_FLAG_EXTRA_UNUSED_23 = 0x00800000 ,
  CREATURE_FLAG_EXTRA_UNUSED_24 = 0x01000000 , CREATURE_FLAG_EXTRA_UNUSED_25 = 0x02000000 , CREATURE_FLAG_EXTRA_UNUSED_26 = 0x04000000 , CREATURE_FLAG_EXTRA_UNUSED_27 = 0x08000000 ,
  CREATURE_FLAG_EXTRA_DUNGEON_BOSS = 0x10000000 , CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING = 0x20000000 , CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK = 0x40000000 , CREATURE_FLAG_EXTRA_UNUSED_31 = 0x80000000 ,
  CREATURE_FLAG_EXTRA_UNUSED , CREATURE_FLAG_EXTRA_DB_ALLOWED = (0xFFFFFFFF & ~(CREATURE_FLAG_EXTRA_UNUSED | CREATURE_FLAG_EXTRA_DUNGEON_BOSS))
}
 
enum class  CreatureGroundMovementType : uint8 { None , Run , Hover , Max }
 
enum class  CreatureFlightMovementType : uint8 { None , DisableGravity , CanFly , Max }
 
enum class  CreatureChaseMovementType : uint8 { Run , CanWalk , AlwaysWalk , Max }
 
enum class  CreatureRandomMovementType : uint8 { Walk , CanRun , AlwaysRun , Max }
 
enum  InhabitTypeValues {
  INHABIT_GROUND = 1 , INHABIT_WATER = 2 , INHABIT_AIR = 4 , INHABIT_ROOT = 8 ,
  INHABIT_ANYWHERE = INHABIT_GROUND | INHABIT_WATER | INHABIT_AIR | INHABIT_ROOT
}
 

Variables

static const uint32 CREATURE_REGEN_INTERVAL = 2 * IN_MILLISECONDS
 
static const uint32 PET_FOCUS_REGEN_INTERVAL = 4 * IN_MILLISECONDS
 
static const uint32 CREATURE_NOPATH_EVADE_TIME = 5 * IN_MILLISECONDS
 
static const uint8 MAX_KILL_CREDIT = 2
 
static const uint32 MAX_CREATURE_MODELS = 4
 
static const uint32 MAX_CREATURE_QUEST_ITEMS = 6
 
static const uint32 MAX_CREATURE_SPELLS = 8
 

Enumeration Type Documentation

◆ CreatureChaseMovementType

enum class CreatureChaseMovementType : uint8
strong
Enumerator
Run 
CanWalk 
AlwaysWalk 
Max 

Definition at line 240 of file CreatureData.h.

◆ CreatureFlagsExtra

Enumerator
CREATURE_FLAG_EXTRA_INSTANCE_BIND 
CREATURE_FLAG_EXTRA_CIVILIAN 
CREATURE_FLAG_EXTRA_NO_PARRY 
CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN 
CREATURE_FLAG_EXTRA_NO_BLOCK 
CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS 
CREATURE_FLAG_EXTRA_NO_XP 
CREATURE_FLAG_EXTRA_TRIGGER 
CREATURE_FLAG_EXTRA_NO_TAUNT 
CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE 
CREATURE_FLAG_EXTRA_GHOST_VISIBILITY 
CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK 
CREATURE_FLAG_EXTRA_NO_SELL_VENDOR 
CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT 
CREATURE_FLAG_EXTRA_WORLDEVENT 
CREATURE_FLAG_EXTRA_GUARD 
CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH 
CREATURE_FLAG_EXTRA_NO_CRIT 
CREATURE_FLAG_EXTRA_NO_SKILL_GAINS 
CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS 
CREATURE_FLAG_EXTRA_ALL_DIMINISH 
CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ 
CREATURE_FLAG_EXTRA_UNUSED_22 
CREATURE_FLAG_EXTRA_UNUSED_23 
CREATURE_FLAG_EXTRA_UNUSED_24 
CREATURE_FLAG_EXTRA_UNUSED_25 
CREATURE_FLAG_EXTRA_UNUSED_26 
CREATURE_FLAG_EXTRA_UNUSED_27 
CREATURE_FLAG_EXTRA_DUNGEON_BOSS 
CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING 
CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK 
CREATURE_FLAG_EXTRA_UNUSED_31 
CREATURE_FLAG_EXTRA_UNUSED 
CREATURE_FLAG_EXTRA_DB_ALLOWED 

Definition at line 179 of file CreatureData.h.

◆ CreatureFlightMovementType

enum class CreatureFlightMovementType : uint8
strong
Enumerator
None 
DisableGravity 
CanFly 
Max 

Definition at line 231 of file CreatureData.h.

◆ CreatureGroundMovementType

enum class CreatureGroundMovementType : uint8
strong
Enumerator
None 
Run 
Hover 
Max 

Definition at line 222 of file CreatureData.h.

◆ CreatureRandomMovementType

enum class CreatureRandomMovementType : uint8
strong
Enumerator
Walk 
CanRun 
AlwaysRun 
Max 

Definition at line 249 of file CreatureData.h.

◆ CreatureStaticFlags

Enumerator
CREATURE_STATIC_FLAG_MOUNTABLE 
CREATURE_STATIC_FLAG_NO_XP 
CREATURE_STATIC_FLAG_NO_LOOT 
CREATURE_STATIC_FLAG_UNKILLABLE 
CREATURE_STATIC_FLAG_TAMEABLE 
CREATURE_STATIC_FLAG_IMMUNE_TO_PC 
CREATURE_STATIC_FLAG_IMMUNE_TO_NPC 
CREATURE_STATIC_FLAG_CAN_WIELD_LOOT 
CREATURE_STATIC_FLAG_SESSILE 
CREATURE_STATIC_FLAG_UNINTERACTIBLE 
CREATURE_STATIC_FLAG_NO_AUTOMATIC_REGEN 
CREATURE_STATIC_FLAG_DESPAWN_INSTANTLY 
CREATURE_STATIC_FLAG_CORPSE_RAID 
CREATURE_STATIC_FLAG_CREATOR_LOOT 
CREATURE_STATIC_FLAG_NO_DEFENSE 
CREATURE_STATIC_FLAG_NO_SPELL_DEFENSE 
CREATURE_STATIC_FLAG_BOSS_MOB 
CREATURE_STATIC_FLAG_COMBAT_PING 
CREATURE_STATIC_FLAG_AQUATIC 
CREATURE_STATIC_FLAG_AMPHIBIOUS 
CREATURE_STATIC_FLAG_NO_MELEE_FLEE 
CREATURE_STATIC_FLAG_VISIBLE_TO_GHOSTS 
CREATURE_STATIC_FLAG_PVP_ENABLING 
CREATURE_STATIC_FLAG_DO_NOT_PLAY_WOUND_ANIM 
CREATURE_STATIC_FLAG_NO_FACTION_TOOLTIP 
CREATURE_STATIC_FLAG_IGNORE_COMBAT 
CREATURE_STATIC_FLAG_ONLY_ATTACK_PVP_ENABLING 
CREATURE_STATIC_FLAG_CALLS_GUARDS 
CREATURE_STATIC_FLAG_CAN_SWIM 
CREATURE_STATIC_FLAG_FLOATING 
CREATURE_STATIC_FLAG_MORE_AUDIBLE 
CREATURE_STATIC_FLAG_LARGE_AOI 

Definition at line 34 of file CreatureData.h.

◆ CreatureStaticFlags2

Enumerator
CREATURE_STATIC_FLAG_2_NO_PET_SCALING 
CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT 
CREATURE_STATIC_FLAG_2_RAID_LOCK_ON_DEATH 
CREATURE_STATIC_FLAG_2_SPELL_ATTACKABLE 
CREATURE_STATIC_FLAG_2_NO_CRUSHING_BLOWS 
CREATURE_STATIC_FLAG_2_NO_OWNER_THREAT 
CREATURE_STATIC_FLAG_2_NO_WOUNDED_SLOWDOWN 
CREATURE_STATIC_FLAG_2_USE_CREATOR_BONUSES 
CREATURE_STATIC_FLAG_2_IGNORE_FEIGN_DEATH 
CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY 
CREATURE_STATIC_FLAG_2_ACTION_TRIGGERS_WHILE_CHARMED 
CREATURE_STATIC_FLAG_2_INTERACT_WHILE_DEAD 
CREATURE_STATIC_FLAG_2_NO_INTERRUPT_SCHOOL_COOLDOWN 
CREATURE_STATIC_FLAG_2_RETURN_SOUL_SHARD_TO_MASTER_OF_PET 
CREATURE_STATIC_FLAG_2_SKIN_WITH_HERBALISM 
CREATURE_STATIC_FLAG_2_SKIN_WITH_MINING 
CREATURE_STATIC_FLAG_2_ALERT_CONTENT_TEAM_ON_DEATH 
CREATURE_STATIC_FLAG_2_ALERT_CONTENT_TEAM_AT_90PTC_HP 
CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT 
CREATURE_STATIC_FLAG_2_PVP_ENABLING_OOC 
CREATURE_STATIC_FLAG_2_NO_DEATH_MESSAGE 
CREATURE_STATIC_FLAG_2_IGNORE_PATHING_FAILURE 
CREATURE_STATIC_FLAG_2_FULL_SPELL_LIST 
CREATURE_STATIC_FLAG_2_DOES_NOT_REDUCE_REPUTATION_FOR_RAIDS 
CREATURE_STATIC_FLAG_2_IGNORE_MISDIRECTION 
CREATURE_STATIC_FLAG_2_HIDE_BODY 
CREATURE_STATIC_FLAG_2_SPAWN_DEFENSIVE 
CREATURE_STATIC_FLAG_2_SERVER_ONLY 
CREATURE_STATIC_FLAG_2_CAN_SAFE_FALL 
CREATURE_STATIC_FLAG_2_CAN_ASSIST 
CREATURE_STATIC_FLAG_2_NO_SKILL_GAINS 
CREATURE_STATIC_FLAG_2_NO_PET_BAR 

Definition at line 70 of file CreatureData.h.

◆ CreatureStaticFlags3

Enumerator
CREATURE_STATIC_FLAG_3_NO_DAMAGE_HISTORY 
CREATURE_STATIC_FLAG_3_DONT_PVP_ENABLE_OWNER 
CREATURE_STATIC_FLAG_3_DO_NOT_FADE_IN 
CREATURE_STATIC_FLAG_3_MASK_UID 
CREATURE_STATIC_FLAG_3_SKIN_WITH_ENGINEERING 
CREATURE_STATIC_FLAG_3_NO_AGGRO_ON_LEASH 
CREATURE_STATIC_FLAG_3_NO_FRIENDLY_AREA_AURAS 
CREATURE_STATIC_FLAG_3_EXTENDED_CORPSE_DURATION 
CREATURE_STATIC_FLAG_3_CANNOT_SWIM 
CREATURE_STATIC_FLAG_3_TAMEABLE_EXOTIC 
CREATURE_STATIC_FLAG_3_GIGANTIC_AOI 
CREATURE_STATIC_FLAG_3_INFINITE_AOI 
CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER 
CREATURE_STATIC_FLAG_3_NO_NAME_PLATE 
CREATURE_STATIC_FLAG_3_CHECKS_LIQUIDS 
CREATURE_STATIC_FLAG_3_NO_THREAT_FEEDBACK 
CREATURE_STATIC_FLAG_3_USE_MODEL_COLLISION_SIZE 
CREATURE_STATIC_FLAG_3_ATTACKER_IGNORES_FACING 
CREATURE_STATIC_FLAG_3_ALLOW_INTERACTION_WHILE_IN_COMBAT 
CREATURE_STATIC_FLAG_3_SPELL_CLICK_FOR_PARTY_ONLY 
CREATURE_STATIC_FLAG_3_FACTION_LEADER 
CREATURE_STATIC_FLAG_3_IMMUNE_TO_PLAYER_BUFFS 
CREATURE_STATIC_FLAG_3_COLLIDE_WITH_MISSILES 
CREATURE_STATIC_FLAG_3_CAN_BE_MULTITAPPED 
CREATURE_STATIC_FLAG_3_DO_NOT_PLAY_MOUNTED_ANIMATIONS 
CREATURE_STATIC_FLAG_3_CANNOT_TURN 
CREATURE_STATIC_FLAG_3_ENEMY_CHECK_IGNORES_LOS 
CREATURE_STATIC_FLAG_3_FOREVER_CORPSE_DURATION 
CREATURE_STATIC_FLAG_3_PETS_ATTACK_WITH_3D_PATHING 
CREATURE_STATIC_FLAG_3_LINK_ALL 
CREATURE_STATIC_FLAG_3_AI_CAN_AUTO_TAKEOFF_IN_COMBAT 
CREATURE_STATIC_FLAG_3_AI_CAN_AUTO_LAND_IN_COMBAT 

Definition at line 106 of file CreatureData.h.

◆ CreatureStaticFlags4

Enumerator
CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM 
CREATURE_STATIC_FLAG_4_TREAT_AS_PLAYER_FOR_DIMINISHING_RETURNS 
CREATURE_STATIC_FLAG_4_TREAT_AS_PLAYER_FOR_PVP_DEBUFF_DURATION 
CREATURE_STATIC_FLAG_4_INTERACT_ONLY_WITH_CREATOR 
CREATURE_STATIC_FLAG_4_DO_NOT_PLAY_UNIT_EVENT_SOUNDS 
CREATURE_STATIC_FLAG_4_HAS_NO_SHADOW_BLOB 
CREATURE_STATIC_FLAG_4_DEALS_TRIPLE_DAMAGE_TO_PC_CONTROLLED_PETS 
CREATURE_STATIC_FLAG_4_NO_NPC_DAMAGE_BELOW_85PTC 
CREATURE_STATIC_FLAG_4_OBEYS_TAUNT_DIMINISHING_RETURNS 
CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH 
CREATURE_STATIC_FLAG_4_UPDATE_CREATURE_RECORD_WHEN_INSTANCE_CHANGES_DIFFICULTY 
CREATURE_STATIC_FLAG_4_CANNOT_DAZE 
CREATURE_STATIC_FLAG_4_FLAT_HONOR_AWARD 
CREATURE_STATIC_FLAG_4_IGNORE_LOS_WHEN_CASTING_ON_ME 
CREATURE_STATIC_FLAG_4_GIVE_QUEST_KILL_CREDIT_WHILE_OFFLINE 
CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS 
CREATURE_STATIC_FLAG_4_DONT_REPOSITION_IF_MELEE_TARGET_IS_TOO_CLOSE 
CREATURE_STATIC_FLAG_4_PET_OR_GUARDIAN_AI_DONT_GO_BEHIND_TARGET 
CREATURE_STATIC_FLAG_4_5_MINUTE_LOOT_ROLL_TIMER 
CREATURE_STATIC_FLAG_4_FORCE_GOSSIP 
CREATURE_STATIC_FLAG_4_DONT_REPOSITION_WITH_FRIENDS_IN_COMBAT 
CREATURE_STATIC_FLAG_4_DO_NOT_SHEATHE 
CREATURE_STATIC_FLAG_4_IGNORE_SPELL_MIN_RANGE_RESTRICTIONS 
CREATURE_STATIC_FLAG_4_SUPPRESS_INSTANCE_WIDE_RELEASE_IN_COMBAT 
CREATURE_STATIC_FLAG_4_PREVENT_SWIM 
CREATURE_STATIC_FLAG_4_HIDE_IN_COMBAT_LOG 
CREATURE_STATIC_FLAG_4_ALLOW_NPC_COMBAT_WHILE_UNINTERACTIBLE 
CREATURE_STATIC_FLAG_4_PREFER_NPCS_WHEN_SEARCHING_FOR_ENEMIES 
CREATURE_STATIC_FLAG_4_ONLY_GENERATE_INITIAL_THREAT 
CREATURE_STATIC_FLAG_4_DO_NOT_TARGET_ON_INTERACTION 
CREATURE_STATIC_FLAG_4_DO_NOT_RENDER_OBJECT_NAME 
CREATURE_STATIC_FLAG_4_QUEST_BOSS 

Definition at line 142 of file CreatureData.h.

◆ InhabitTypeValues

Enumerator
INHABIT_GROUND 
INHABIT_WATER 
INHABIT_AIR 
INHABIT_ROOT 
INHABIT_ANYWHERE 

Definition at line 467 of file CreatureData.h.

Variable Documentation

◆ CREATURE_NOPATH_EVADE_TIME

const uint32 CREATURE_NOPATH_EVADE_TIME = 5 * IN_MILLISECONDS
static

Definition at line 285 of file CreatureData.h.

◆ CREATURE_REGEN_INTERVAL

const uint32 CREATURE_REGEN_INTERVAL = 2 * IN_MILLISECONDS
static

Definition at line 283 of file CreatureData.h.

◆ MAX_CREATURE_MODELS

const uint32 MAX_CREATURE_MODELS = 4
static

Definition at line 288 of file CreatureData.h.

◆ MAX_CREATURE_QUEST_ITEMS

const uint32 MAX_CREATURE_QUEST_ITEMS = 6
static

Definition at line 289 of file CreatureData.h.

◆ MAX_CREATURE_SPELLS

const uint32 MAX_CREATURE_SPELLS = 8
static

Definition at line 290 of file CreatureData.h.

◆ MAX_KILL_CREDIT

const uint8 MAX_KILL_CREDIT = 2
static

Definition at line 287 of file CreatureData.h.

◆ PET_FOCUS_REGEN_INTERVAL

const uint32 PET_FOCUS_REGEN_INTERVAL = 4 * IN_MILLISECONDS
static

Definition at line 284 of file CreatureData.h.