From c4f651c1152568d1eb3829ae5004db953191755d Mon Sep 17 00:00:00 2001 From: Stefano Borzì Date: Wed, 10 Apr 2019 19:54:18 +0200 Subject: Update creature_template.md (#33) --- docs/creature_template.md | 1129 +++++++++++++-------------------------------- 1 file changed, 315 insertions(+), 814 deletions(-) (limited to 'docs') diff --git a/docs/creature_template.md b/docs/creature_template.md index b84d99b..66c04b9 100644 --- a/docs/creature_template.md +++ b/docs/creature_template.md @@ -2,87 +2,86 @@ This table contains the description of creatures. Each spawned creature is an instance of a template present in this table, this means every creature MUST be defined in this table. -| Field | Type | Null | Key | Default | Extra | Comment | -|----------------------------------------------------------------------|-----------------------|------|-----|---------|-------|--------------------------------------| -| [entry](#creature_template-entry) | mediumint(8) unsigned | NO | PRI | 0 |   |   | -| [difficulty\_entry\_1](#creature_template-difficulty_entry) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [difficulty\_entry\_2](#creature_template-difficulty_entry) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [difficulty\_entry\_3](#creature_template-difficulty_entry) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [KillCredit1](#creature_template-KillCredit1) | int(10) unsigned | NO |   | 0 |   |   | -| [KillCredit2](#creature_template-KillCredit2) | int(10) unsigned | NO |   | 0 |   |   | -| [modelid1](#creature_template-modelid) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [modelid2](#creature_template-modelid) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [modelid3](#creature_template-modelid) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [modelid4](#creature_template-modelid) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [name](#creature_template-name) | char(100) | NO | MUL | 0 |   |   | -| [subname](#creature_template-subname) | char(100) | YES |   | (NULL) |   |   | -| [IconName](#creature_template-IconName) | char(100) | YES |   | (NULL) |   |   | -| [gossip\_menu\_id](#creature_template-gossip_menu_id) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [minlevel](#creature_template-minlevel) | tinyint(3) unsigned | NO |   | 1 |   |   | -| [maxlevel](#creature_template-maxlevel) | tinyint(3) unsigned | NO |   | 1 |   |   | -| [exp](#creature_template-exp) | smallint(6) | NO |   | 0 |   |   | -| [faction](#creature_template-faction) | smallint(5) unsigned | NO |   | 0 |   |   | -| [npcflag](#creature_template-npcflag) | int(10) unsigned | NO |   | 0 |   |   | -| [speed\_walk](#creature_template-speed_walk) | float | NO |   | 1 |   | Result of 2.5/2.5, most common value | -| [speed\_run](#creature_template-speed_run) | float | NO |   | 1.14286 |   | Result of 8.0/7.0, most common value | -| [scale](#creature_template-scale) | float | NO |   | 1 |   |   | -| [rank](#creature_template-rank) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [dmgschool](#creature_template-dmgschool) | tinyint(4) | NO |   | 0 |   |   | -| [BaseAttackTime](#creature_template-BaseAttackTime) | int(10) unsigned | NO |   | 0 |   |   | -| [RangeAttackTime](#creature_template-RangeAttackTime) | int(10) unsigned | NO |   | 0 |   |   | -| [BaseVariance](#creature_template-BaseVariance) | float | NO |   | 1 |   |   | -| [RangeVariance](#creature_template-RangeVariance) | float | NO |   | 1 |   |   | -| [unit\_class](#creature_template-unit_class) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [unit\_flags](#creature_template-unit_flags) | int(10) unsigned | NO |   | 0 |   |   | -| [unit\_flags2](#creature_template-unit_flags2) | int(10) unsigned | NO |   | 0 |   |   | -| [dynamicflags](#creature_template-dynamicflags) | int(10) unsigned | NO |   | 0 |   |   | -| [family](#creature_template-family) | tinyint(4) | NO |   | 0 |   |   | -| [trainer\_type](#creature_template-trainer_type) | tinyint(4) | NO |   | 0 |   |   | -| [trainer\_spell](#creature_template-trainer_spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [trainer\_class](#creature_template-trainer_class) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [trainer\_race](#creature_template-trainer_race) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [type](#creature_template-type) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [type\_flags](#creature_template-type_flags) | int(10) unsigned | NO |   | 0 |   |   | -| [lootid](#creature_template-lootid) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [pickpocketloot](#creature_template-pickpocketloot) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [skinloot](#creature_template-skinl) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [resistance1](#creature_template-resistance) | smallint(6) | NO |   | 0 |   |   | -| [resistance2](#creature_template-resistance) | smallint(6) | NO |   | 0 |   |   | -| [resistance3](#creature_template-resistance) | smallint(6) | NO |   | 0 |   |   | -| [resistance4](#creature_template-resistance) | smallint(6) | NO |   | 0 |   |   | -| [resistance5](#creature_template-resistance) | smallint(6) | NO |   | 0 |   |   | -| [resistance6](#creature_template-resistance) | smallint(6) | NO |   | 0 |   |   | -| [spell1](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell2](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell3](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell4](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell5](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell6](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell7](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [spell8](#creature_template-spell) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [PetSpellDataId](#creature_template-PetSpellDataId) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [VehicleId](#creature_template-VehicleId) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [mingold](#creature_template-mingold) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [maxgold](#creature_template-maxgold) | mediumint(8) unsigned | NO |   | 0 |   |   | -| [AIName](#creature_template-AIName) | char(64) | NO |   |   |   |   | -| [MovementType](#creature_template-MovementType) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [InhabitType](#creature_template-InhabitType) | tinyint(3) unsigned | NO |   | 3 |   |   | -| [HoverHeight](#creature_template-HoverHeight) | float | NO |   | 1 |   |   | -| [HealthModifier](#creature_template-HealthModifier) | float | NO |   | 1 |   |   | -| [ManaModifier](#creature_template-ManaModifier) | float | NO |   | 1 |   |   | -| [ArmorModifier](#creature_template-ArmorModifier) | float | NO |   | 1 |   |   | -| [DamageModifier](#creature_template-DamageModifier) | float | NO |   | 1 |   |   | -| [ExperienceModifier](#creature_template-ExperienceModifier) | float | NO |   | 1 |   |   | -| [RacialLeader](#creature_template-RacialLeader) | tinyint(3) unsigned | NO |   | 0 |   |   | -| [movementId](#creature_template-movementId) | int(11) unsigned | NO |   | 0 |   |   | -| [RegenHealth](#creature_template-RegenHealth) | tinyint(3) unsigned | NO |   | 1 |   |   | -| [mechanic\_immune\_mask](#creature_template-mechanic_immune_mask) | int(10) unsigned | NO |   | 0 |   |   | -| [flags\_extra](#creature_template-flags_extra) | int(10) unsigned | NO |   | 0 |   |   | -| [ScriptName](#creature_template-ScriptName) | char(64) | NO |   |   |   |   | -| [VerifiedBuild](#creature_template-VerifiedBuild) | smallint(5) | YES |   | 0 |   |   | - -** -** +| Field | Type | Null | Key | Default | Extra | Comment | +|-------------------------------------------------------------------|-----------------------|------|-----|---------|-------|--------------------------------------| +| [entry](#creature_template-entry) | mediumint(8) unsigned | NO | PRI | 0 | | | +| [difficulty\_entry\_1](#creature_template-difficulty_entry) | mediumint(8) unsigned | NO | | 0 | | | +| [difficulty\_entry\_2](#creature_template-difficulty_entry) | mediumint(8) unsigned | NO | | 0 | | | +| [difficulty\_entry\_3](#creature_template-difficulty_entry) | mediumint(8) unsigned | NO | | 0 | | | +| [KillCredit1](#creature_template-KillCredit1) | int(10) unsigned | NO | | 0 | | | +| [KillCredit2](#creature_template-KillCredit2) | int(10) unsigned | NO | | 0 | | | +| [modelid1](#creature_template-modelid) | mediumint(8) unsigned | NO | | 0 | | | +| [modelid2](#creature_template-modelid) | mediumint(8) unsigned | NO | | 0 | | | +| [modelid3](#creature_template-modelid) | mediumint(8) unsigned | NO | | 0 | | | +| [modelid4](#creature_template-modelid) | mediumint(8) unsigned | NO | | 0 | | | +| [name](#creature_template-name) | char(100) | NO | MUL | 0 | | | +| [subname](#creature_template-subname) | char(100) | YES | | (NULL) | | | +| [IconName](#creature_template-IconName) | char(100) | YES | | (NULL) | | | +| [gossip\_menu\_id](#creature_template-gossip_menu_id) | mediumint(8) unsigned | NO | | 0 | | | +| [minlevel](#creature_template-minlevel) | tinyint(3) unsigned | NO | | 1 | | | +| [maxlevel](#creature_template-maxlevel) | tinyint(3) unsigned | NO | | 1 | | | +| [exp](#creature_template-exp) | smallint(6) | NO | | 0 | | | +| [faction](#creature_template-faction) | smallint(5) unsigned | NO | | 0 | | | +| [npcflag](#creature_template-npcflag) | int(10) unsigned | NO | | 0 | | | +| [speed\_walk](#creature_template-speed_walk) | float | NO | | 1 | | Result of 2.5/2.5, most common value | +| [speed\_run](#creature_template-speed_run) | float | NO | | 1.14286 | | Result of 8.0/7.0, most common value | +| [scale](#creature_template-scale) | float | NO | | 1 | | | +| [rank](#creature_template-rank) | tinyint(3) unsigned | NO | | 0 | | | +| [dmgschool](#creature_template-dmgschool) | tinyint(4) | NO | | 0 | | | +| [BaseAttackTime](#creature_template-BaseAttackTime) | int(10) unsigned | NO | | 0 | | | +| [RangeAttackTime](#creature_template-RangeAttackTime) | int(10) unsigned | NO | | 0 | | | +| [BaseVariance](#creature_template-BaseVariance) | float | NO | | 1 | | | +| [RangeVariance](#creature_template-RangeVariance) | float | NO | | 1 | | | +| [unit\_class](#creature_template-unit_class) | tinyint(3) unsigned | NO | | 0 | | | +| [unit\_flags](#creature_template-unit_flags) | int(10) unsigned | NO | | 0 | | | +| [unit\_flags2](#creature_template-unit_flags2) | int(10) unsigned | NO | | 0 | | | +| [dynamicflags](#creature_template-dynamicflags) | int(10) unsigned | NO | | 0 | | | +| [family](#creature_template-family) | tinyint(4) | NO | | 0 | | | +| [trainer\_type](#creature_template-trainer_type) | tinyint(4) | NO | | 0 | | | +| [trainer\_spell](#creature_template-trainer_spell) | mediumint(8) unsigned | NO | | 0 | | | +| [trainer\_class](#creature_template-trainer_class) | tinyint(3) unsigned | NO | | 0 | | | +| [trainer\_race](#creature_template-trainer_race) | tinyint(3) unsigned | NO | | 0 | | | +| [type](#creature_template-type) | tinyint(3) unsigned | NO | | 0 | | | +| [type\_flags](#creature_template-type_flags) | int(10) unsigned | NO | | 0 | | | +| [lootid](#creature_template-lootid) | mediumint(8) unsigned | NO | | 0 | | | +| [pickpocketloot](#creature_template-pickpocketloot) | mediumint(8) unsigned | NO | | 0 | | | +| [skinloot](#creature_template-skinl) | mediumint(8) unsigned | NO | | 0 | | | +| [resistance1](#creature_template-resistance) | smallint(6) | NO | | 0 | | | +| [resistance2](#creature_template-resistance) | smallint(6) | NO | | 0 | | | +| [resistance3](#creature_template-resistance) | smallint(6) | NO | | 0 | | | +| [resistance4](#creature_template-resistance) | smallint(6) | NO | | 0 | | | +| [resistance5](#creature_template-resistance) | smallint(6) | NO | | 0 | | | +| [resistance6](#creature_template-resistance) | smallint(6) | NO | | 0 | | | +| [spell1](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell2](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell3](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell4](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell5](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell6](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell7](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [spell8](#creature_template-spell) | mediumint(8) unsigned | NO | | 0 | | | +| [PetSpellDataId](#creature_template-PetSpellDataId) | mediumint(8) unsigned | NO | | 0 | | | +| [VehicleId](#creature_template-VehicleId) | mediumint(8) unsigned | NO | | 0 | | | +| [mingold](#creature_template-mingold) | mediumint(8) unsigned | NO | | 0 | | | +| [maxgold](#creature_template-maxgold) | mediumint(8) unsigned | NO | | 0 | | | +| [AIName](#creature_template-AIName) | char(64) | NO | | | | | +| [MovementType](#creature_template-MovementType) | tinyint(3) unsigned | NO | | 0 | | | +| [InhabitType](#creature_template-InhabitType) | tinyint(3) unsigned | NO | | 3 | | | +| [HoverHeight](#creature_template-HoverHeight) | float | NO | | 1 | | | +| [HealthModifier](#creature_template-HealthModifier) | float | NO | | 1 | | | +| [ManaModifier](#creature_template-ManaModifier) | float | NO | | 1 | | | +| [ArmorModifier](#creature_template-ArmorModifier) | float | NO | | 1 | | | +| [DamageModifier](#creature_template-DamageModifier) | float | NO | | 1 | | | +| [ExperienceModifier](#creature_template-ExperienceModifier) | float | NO | | 1 | | | +| [RacialLeader](#creature_template-RacialLeader) | tinyint(3) unsigned | NO | | 0 | | | +| [movementId](#creature_template-movementId) | int(11) unsigned | NO | | 0 | | | +| [RegenHealth](#creature_template-RegenHealth) | tinyint(3) unsigned | NO | | 1 | | | +| [mechanic\_immune\_mask](#creature_template-mechanic_immune_mask) | int(10) unsigned | NO | | 0 | | | +| [flags\_extra](#creature_template-flags_extra) | int(10) unsigned | NO | | 0 | | | +| [ScriptName](#creature_template-ScriptName) | char(64) | NO | | | | | +| [VerifiedBuild](#creature_template-VerifiedBuild) | smallint(5) | YES | | 0 | | | + +--- **Description of the fields** @@ -148,7 +147,7 @@ Used to tell the player what kind of NPC this creature is. | **Taxi** | Shows a boot with wings icon identifying this NPC as a taxi. | | **Repair** | Shows a anvil icon identifying that this NPC can repair. | | **LootAll** | Shows a multiple brown bag icon (same as holding shift before looting a creature). | -| **Quest** |  Unused or unknown (see entry 32870 "The Real Ronakada"). | +| **Quest** | Unused or unknown (see entry 32870 "The Real Ronakada"). | | **PVP** | Unused or Unknown (see entry 29387 "Arena Master: Dalaran Arena"). | **Attention!** This is not required to make the NPC function unless you are using scripts or gossip options. Names are case sensitive, If in doubt use an example above. @@ -185,101 +184,34 @@ Note: This field also controls the creature family assistance mechanic. Only cre A bitmask that represents what NPC flags the creature has. Each bit controls a different flag and to combine flags, you can add each flag that you want, in effect activating the respective bits. -# **npcflag** - -Decimal -Hexadecimal -Name -Comment -1 -0x0000 0001 -Gossip -If creature has more gossip options, add this flag to bring up a menu. -2 -0x0000 0002 -Quest Giver -Any creature giving or taking quests needs to have this flag. -16 -0x0000 0010 -Trainer -Allows the creature to have a trainer list to teach spells -32 -0x0000 0020 -Class Trainer -64 -0x0000 0040 -Profession Trainer -128 -0x0000 0080 -Vendor -Any creature selling items needs to have this flag. -256 -0x0000 0100 -Vendor Ammo -512 -0x0000 0200 -Vendor Food -1024 -0x0000 0400 -Vendor Poison -2048 -0x0000 0800 -Vendor Reagent -4096 -0x0000 1000 -Repairer -Creatures with this flag can repair items. -8192 -0x0000 2000 -Flight Master -Any creature serving as flight master has this. -16384 -0x0000 4000 -Spirit Healer -Makes the creature invisible to alive characters and has the resurrect function. -32768 -0x0000 8000 -Spirit Guide -65536 -0x0001 0000 -Innkeeper -Creatures with this flag can set hearthstone locations. -131072 -0x0002 0000 -Banker -Creatures with this flag can show the bank -262144 -0x0004 0000 -Petitioner -524288 -0x0008 0000 -Tabard Designer -Allows the designing of guild tabards. -1048576 -0x0010 0000 -Battlemaster -Creatures with this flag port players to battlegrounds. -2097152 -0x0020 0000 -Auctioneer -Allows creature to display auction list. -4194304 -0x0040 0000 -Stable Master -Has the option to stable pets for hunters. -8388608 -0x0080 0000 -Guild Banker -16777216 -0x0100 0000 -Spellclick -Needs data on npc\_spellclick\_spells table -67108864 -0x0400 0000 -Mailbox -NPC will act like a mailbox (opens mailbox with right-click) - -So if you want a NPC that is a quest giver(2), a vendor(128) and can repair(4096) you just add specific flags together: 2+128+4096=4226                                                                                                                                                                                                                      +| Flag | | Name | Comment | +|----------|------------|--------------------|----------------------------------------------------------------------------------| +| 1 | 0x00000001 | Gossip | If creature has more gossip options, add this flag to bring up a menu. | +| 2 | 0x00000002 | Quest Giver | Any creature giving or taking quests needs to have this flag. | +| 16 | 0x00000010 | Trainer | Allows the creature to have a trainer list to teach spells | +| 32 | 0x00000020 | Class Trainer | | +| 64 | 0x00000040 | Profession Trainer | | +| 128 | 0x00000080 | Vendor | Any creature selling items needs to have this flag. | +| 256 | 0x00000100 | Vendor Ammo | | +| 512 | 0x00000200 | Vendor Food | | +| 1024 | 0x00000400 | Vendor Poison | | +| 2048 | 0x00000800 | Vendor Reagent | | +| 4096 | 0x00001000 | Repairer | Creatures with this flag can repair items. | +| 8192 | 0x00002000 | Flight Master | Any creature serving as flight master has this. | +| 16384 | 0x00004000 | Spirit Healer | Makes the creature invisible to alive characters and has the resurrect function. | +| 32768 | 0x00008000 | Spirit Guide | | +| 65536 | 0x00010000 | Innkeeper | Creatures with this flag can set hearthstone locations. | +| 131072 | 0x00020000 | Banker | Creatures with this flag can show the bank | +| 262144 | 0x00040000 | Petitioner | | +| 524288 | 0x00080000 | Tabard Designer | Allows the designing of guild tabards. | +| 1048576 | 0x00100000 | Battlemaster | Creatures with this flag port players to battlegrounds. | +| 2097152 | 0x00200000 | Auctioneer | Allows creature to display auction list. | +| 4194304 | 0x00400000 | Stable Master | Has the option to stable pets for hunters. | +| 8388608 | 0x00800000 | Guild Banker | | +| 16777216 | 0x01000000 | Spellclick | Needs data on npc_spellclick_spells table | +| 67108864 | 0x04000000 | Mailbox | NPC will act like a mailbox (opens mailbox with right-click) | + +So if you want a NPC that is a quest giver(2), a vendor(128) and can repair(4096) you just add specific flags together: 2+128+4096=4226                                                                               #### speed\_walk @@ -297,16 +229,13 @@ If non-zero, this field defines the size of how the model of the creature appear The rank of the creature: -| Rank | Name | Default Respawn Time - [Creature.spawntimesecs](http://archive.trinitycore.info/Creature_tc2#spawntimesecs "Creature tc2") | Corpse Decay Time - Worldserver.conf (Corpse.Decay) | Total Default Respawn - [spawntimesecs](http://archive.trinitycore.info/Creature_tc2#spawntimesecs "Creature tc2") + Corpse.Decay | -|------|------------|-----------------------------------------------------------------------------------------------------|---------------------------------|-----------------------------------------------------------------------------------------------------------| -| 0 | Normal | 5 min | 60 sec | 6 min | -| 1 | Elite | 5 min | 5 min | 10 min | -| 2 | Rare Elite | 5 min | 5 min | 10 min | -| 3 | Boss | 5 min | 1 hour | 1 hour, 5 min | -| 4 | Rare | 5 min | 5 min | 10 min | +| Rank | Name | Default Respawn Time Creature.spawntimesecs | Corpse Decay Time Worldserver.conf (Corpse.Decay) | Total Default Respawn spawntimesecs + Corpse.Decay | +|------|------------|---------------------------------------------|---------------------------------------------------|----------------------------------------------------| +| 0 | Normal | 5 min | 60 sec | 6 min | +| 1 | Elite | 5 min | 5 min | 10 min | +| 2 | Rare Elite | 5 min | 5 min | 10 min | +| 3 | Boss | 5 min | 1 hour | 1 hour, 5 min | +| 4 | Rare | 5 min | 5 min | 10 min | **Note 1:** An NPC's rank is mostly visual (which also requires your Cache to be cleared to see changes). Changing this value will not change its health, damage, or loot. However, it will change the respawn time of the creature. @@ -318,15 +247,15 @@ The rank of the creature: Creature's melee damage school. -| ID | Name | -|-----|-----------------------| -| 0 | SPELL\_SCHOOL\_NORMAL | -| 1 | SPELL\_SCHOOL\_HOLY | -| 2 | SPELL\_SCHOOL\_FIRE | -| 3 | SPELL\_SCHOOL\_NATURE | -| 4 | SPELL\_SCHOOL\_FROST | -| 5 | SPELL\_SCHOOL\_SHADOW | -| 6 | SPELL\_SCHOOL\_ARCANE | +| ID | Name | +|----|-----------------------| +| 0 | SPELL\_SCHOOL\_NORMAL | +| 1 | SPELL\_SCHOOL\_HOLY | +| 2 | SPELL\_SCHOOL\_FIRE | +| 3 | SPELL\_SCHOOL\_NATURE | +| 4 | SPELL\_SCHOOL\_FROST | +| 5 | SPELL\_SCHOOL\_SHADOW | +| 6 | SPELL\_SCHOOL\_ARCANE | #### BaseAttackTime @@ -351,207 +280,66 @@ This is the creature's class, and it dictates levels of health and mana. Also no Allows the manual application of unit flags to creatures. Again this is a bitmask field and to apply more than one flag, just add the different numbers. Some possible flags are: -# unit\_flags - -Decimal -Hexadecimal -Name -Comments -1 -0x0000 0001 -UNIT\_FLAG\_SERVER\_CONTROLLED -2 -0x0000 0002 -UNIT\_FLAG\_NON\_ATTACKABLE -4 -0x0000 0004 -UNIT\_FLAG\_REMOVE\_CLIENT\_CONTROL -8 -0x0000 0008 -UNIT\_FLAG\_PVP\_ATTACKABLE -Allows to apply PvP rules to attackable state in addition to faction dependent state -16 -0x0000 0010 -UNIT\_FLAG\_RENAME -32 -0x0000 0020 -UNIT\_FLAG\_PREPARATION -Don't take reagents for spells with SPELL\_ATTR\_EX5\_NO\_REAGENT\_WHILE\_PREP -64 -0x0000 0040 -UNIT\_FLAG\_UNK\_6 -not sure what it does, but it is needed to cast nontriggered spells in smart\_scripts -128 -0x0000 0080 -UNIT\_FLAG\_NOT\_ATTACKABLE\_1 -UNIT\_FLAG\_PVP\_ATTACKABLE| UNIT\_FLAG\_NOT\_ATTACKABLE\_1 is NON\_PVP\_ATTACKABLE -256 -0x0000 0100 -UNIT\_FLAG\_IMMUNE\_TO\_PC -disables combat/assistance with PlayerCharacters (PC) -512 -0x0000 0200 -UNIT\_FLAG\_IMMUNE\_TO\_NPC -disables combat/assistance with NonPlayerCharacters (NPC) -1024 -0x0000 0400 -UNIT\_FLAG\_LOOTING -Loot animation -2048 -0x0000 0800 -UNIT\_FLAG\_PET\_IN\_COMBAT -In combat? 2.0.8 -4096 -0x0000 1000 -UNIT\_FLAG\_PVP -Changed in 3.0.3 -8192 -0x0000 2000 -UNIT\_FLAG\_SILENCED -Can't cast spells -16384 -0x0000 4000 -UNIT\_FLAG\_CANNOT\_SWIM -2.0.8 -32768 -0x0000 8000 -UNIT\_FLAG\_UNK\_15 -Only Swim (['OnlySwim' from UnitFlags.cs in WPP](https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Enums/UnitFlags.cs)) -65536 -0x0001 0000 -UNIT\_FLAG\_UNK\_16 -No Attack 2 (['NoAttack2' from UnitFlags.cs in WPP](https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Enums/UnitFlags.cs)) -131072 -0x0002 0000 -UNIT\_FLAG\_PACIFIED -Creature will not attack -262144 -0x0004 0000 -UNIT\_FLAG\_STUNNED -3.0.3 ok -524288 -0x0008 0000 -UNIT\_FLAG\_IN\_COMBAT -('AffectingCombat'[from UnitFlags.cs in WPP](https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Enums/UnitFlags.cs)) -1048576 -0x0010 0000 -UNIT\_FLAG\_TAXI\_FLIGHT -Disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag -2097152 -0x0020 0000 -UNIT\_FLAG\_DISARMED -3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip. -4194304 -0x0040 0000 -UNIT\_FLAG\_CONFUSED -Confused. -8388608 -0x0080 0000 -UNIT\_FLAG\_FLEEING -(['Feared' from UnitFlags.cs in WPP](https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Enums/UnitFlags.cs)) -16777216 -0x0100 0000 -UNIT\_FLAG\_PLAYER\_CONTROLLED -Used in spell Eyes of the Beast for pet... let attack by controlled creature. Also used by Vehicles (PCV). -54432 -0x0200 0000 -UNIT\_FLAG\_NOT\_SELECTABLE -Can't be selected by mouse or with /target {name} command. -67108864 -0x0400 0000 -UNIT\_FLAG\_SKINNABLE -Skinnable -134217728 -0x0800 0000 -UNIT\_FLAG\_MOUNT -The client seems to handle it perfectly. Also used when making custom mounts. -268435456 -0x1000 0000 -UNIT\_FLAG\_UNK\_28 -([PreventKneelingWhenLooting from UnitFlags.cs in WPP](https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Enums/UnitFlags.cs)) -536870912 -0x2000 0000 -UNIT\_FLAG\_UNK\_29 -Used in Feign Death spell or NPC will play dead. ([PreventEmotes](https://github.com/TrinityCore/WowPacketParser/blob/master/WowPacketParser/Enums/UnitFlags.cs)) -1073741824 -0x4000 0000 -UNIT\_FLAG\_SHEATHE -2147483648 -0x8000 0000 -UNIT\_FLAG\_UNK\_31 +| Flag | | Name | Comments | +|------------|------------|---------------------------------|------------------------------------------------------------------------------------------------------------| +| 1 | 0x00000001 | UNIT_FLAG_SERVER_CONTROLLED | | +| 2 | 0x00000002 | UNIT_FLAG_NON_ATTACKABLE | | +| 4 | 0x00000004 | UNIT_FLAG_REMOVE_CLIENT_CONTROL | | +| 8 | 0x00000008 | UNIT_FLAG_PVP_ATTACKABLE | Allows to apply PvP rules to attackable state in addition to faction dependent state | +| 16 | 0x00000010 | UNIT_FLAG_RENAME | | +| 32 | 0x00000020 | UNIT_FLAG_PREPARATION | Don't take reagents for spells with SPELL_ATTR_EX5_NO_REAGENT_WHILE_PREP | +| 64 | 0x00000040 | UNIT_FLAG_UNK_6 | not sure what it does, but it is needed to cast nontriggered spells in smart_scripts | +| 128 | 0x00000080 | UNIT_FLAG_NOT_ATTACKABLE_1 | UNIT_FLAG_PVP_ATTACKABLE|UNIT_FLAG_NOT_ATTACKABLE_1 is NON_PVP_ATTACKABLE | +| 256 | 0x00000100 | UNIT_FLAG_IMMUNE_TO_PC | disables combat/assistance with PlayerCharacters (PC) | +| 512 | 0x00000200 | UNIT_FLAG_IMMUNE_TO_NPC | disables combat/assistance with NonPlayerCharacters (NPC) | +| 1024 | 0x00000400 | UNIT_FLAG_LOOTING | Loot animation | +| 2048 | 0x00000800 | UNIT_FLAG_PET_IN_COMBAT | In combat? 2.0.8 | +| 4096 | 0x00001000 | UNIT_FLAG_PVP | Changed in 3.0.3 | +| 8192 | 0x00002000 | UNIT_FLAG_SILENCED | Can't cast spells | +| 16384 | 0x00004000 | UNIT_FLAG_CANNOT_SWIM | 2.0.8 | +| 32768 | 0x00008000 | UNIT_FLAG_UNK_15 | Only Swim ('OnlySwim' from UnitFlags.cs in WPP) | +| 65536 | 0x00010000 | UNIT_FLAG_UNK_16 | No Attack 2 ('NoAttack2' from UnitFlags.cs in WPP) | +| 131072 | 0x00020000 | UNIT_FLAG_PACIFIED | Creature will not attack | +| 262144 | 0x00040000 | UNIT_FLAG_STUNNED | 3.0.3 ok | +| 524288 | 0x00080000 | UNIT_FLAG_IN_COMBAT | ('AffectingCombat' from UnitFlags.cs in WPP) | +| 1048576 | 0x00100000 | UNIT_FLAG_TAXI_FLIGHT | Disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag | +| 2097152 | 0x00200000 | UNIT_FLAG_DISARMED | 3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip. | +| 4194304 | 0x00400000 | UNIT_FLAG_CONFUSED | Confused. | +| 8388608 | 0x00800000 | UNIT_FLAG_FLEEING | ('Feared' from UnitFlags.cs in WPP) | +| 16777216 | 0x01000000 | UNIT_FLAG_PLAYER_CONTROLLED | Used in spell Eyes of the Beast for pet... let attack by controlled creature. Also used by Vehicles (PCV). | +| 33554432 | 0x02000000 | UNIT_FLAG_NOT_SELECTABLE | Can't be selected by mouse or with /target {name} command. | +| 67108864 | 0x04000000 | UNIT_FLAG_SKINNABLE | Skinnable | +| 134217728 | 0x08000000 | UNIT_FLAG_MOUNT | The client seems to handle it perfectly. Also used when making custom mounts. | +| 268435456 | 0x10000000 | UNIT_FLAG_UNK_28 | (PreventKneelingWhenLooting from UnitFlags.cs in WPP) | +| 536870912 | 0x20000000 | UNIT_FLAG_UNK_29 | Used in Feign Death spell or NPC will play dead. (PreventEmotes) | +| 1073741824 | 0x40000000 | UNIT_FLAG_SHEATHE | | +| 2147483648 | 0x80000000 | UNIT_FLAG_UNK_31 | | #### unit\_flags2 Allows additional application of unit flags to creatures. Again, this is a bitmask field and to apply more than one flag, just add the different numbers. Some possible flags are: -# unit\_flags2 - -Decimal -Hexadecimal -Name -Comments -1 -0x0000 0001 -UNIT\_FLAG2\_FEIGN\_DEATH -2 -0x0000 0002 -UNIT\_FLAG2\_UNK1 -Hide unit model (show only player equip) -4 -0x0000 0004 -UNIT\_FLAG2\_IGNORE\_REPUTATION -8 -0x0000 0008 -UNIT\_FLAG2\_COMPREHEND\_LANG -16 -0x0000 0010 -UNIT\_FLAG2\_MIRROR\_IMAGE -32 -0x0000 0020 -UNIT\_FLAG2\_INSTANTLY\_APPEAR\_MODEL -Unit model instantly appears when summoned (does not fade in) -64 -0x0000 0040 -UNIT\_FLAG2\_FORCE\_MOVEMENT -128 -0x0000 0080 -UNIT\_FLAG2\_DISARM\_OFFHAND -256 -0x0000 0100 -UNIT\_FLAG2\_DISABLE\_PRED\_STATS -Player has disabled predicted stats (Used by raid frames) -1024 -0x0000 0400 -UNIT\_FLAG2\_DISARM\_RANGED -this does not disable ranged weapon display (maybe additional flag needed?) -2048 -0x0000 0800 -UNIT\_FLAG2\_REGENERATE\_POWER -4096 -0x0000 1000 -UNIT\_FLAG2\_RESTRICT\_PARTY\_INTERACTION -Restrict interaction to party or raid -8192 -0x0000 2000 -UNIT\_FLAG2\_PREVENT\_SPELL\_CLICK -Prevent spellclick -16384 -0x0000 4000 -UNIT\_FLAG2\_ALLOW\_ENEMY\_INTERACT -32768 -0x0000 8000 -UNIT\_FLAG2\_DISABLE\_TURN -65536 -0x0001 0000 -UNIT\_FLAG2\_UNK2 -131072 -0x0002 0000 -UNIT\_FLAG2\_PLAY\_DEATH\_ANIM -Plays special death animation upon death -262144 -0x0004 0000 -UNIT\_FLAG2\_ALLOW\_CHEAT\_SPELLS -allows casting spells with AttributesEx7 & SPELL\_ATTR7\_IS\_CHEAT\_SPELL + +| Flag | | Name | Comments | +|--------|------------|---------------------------------------|-----------------------------------------------------------------------------| +| 1 | 0x00000001 | UNIT_FLAG2_FEIGN_DEATH | | +| 2 | 0x00000002 | UNIT_FLAG2_UNK1 | Hide unit model (show only player equip) | +| 4 | 0x00000004 | UNIT_FLAG2_IGNORE_REPUTATION | | +| 8 | 0x00000008 | UNIT_FLAG2_COMPREHEND_LANG | | +| 16 | 0x00000010 | UNIT_FLAG2_MIRROR_IMAGE | | +| 32 | 0x00000020 | UNIT_FLAG2_INSTANTLY_APPEAR_MODEL | Unit model instantly appears when summoned (does not fade in) | +| 64 | 0x00000040 | UNIT_FLAG2_FORCE_MOVEMENT | | +| 128 | 0x00000080 | UNIT_FLAG2_DISARM_OFFHAND | | +| 256 | 0x00000100 | UNIT_FLAG2_DISABLE_PRED_STATS | Player has disabled predicted stats (Used by raid frames) | +| 1024 | 0x00000400 | UNIT_FLAG2_DISARM_RANGED | this does not disable ranged weapon display (maybe additional flag needed?) | +| 2048 | 0x00000800 | UNIT_FLAG2_REGENERATE_POWER | | +| 4096 | 0x00001000 | UNIT_FLAG2_RESTRICT_PARTY_INTERACTION | Restrict interaction to party or raid | +| 8192 | 0x00002000 | UNIT_FLAG2_PREVENT_SPELL_CLICK | Prevent spellclick | +| 16384 | 0x00004000 | UNIT_FLAG2_ALLOW_ENEMY_INTERACT | | +| 32768 | 0x00008000 | UNIT_FLAG2_DISABLE_TURN | | +| 65536 | 0x00010000 | UNIT_FLAG2_UNK2 | | +| 131072 | 0x00020000 | UNIT_FLAG2_PLAY_DEATH_ANIM | Plays special death animation upon death | +| 262144 | 0x00040000 | UNIT_FLAG2_ALLOW_CHEAT_SPELLS | allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL | #### dynamicflags @@ -559,44 +347,18 @@ Flags that control visual appearance of the creature. A few known flags and their use are: -# dynamicflags - -Decimal -Hexadecimal -Name -Comments -0 -0x00 -UNIT\_DYNFLAG\_NONE -1 -0x01 -UNIT\_DYNFLAG\_LOOTABLE -2 -0x02 -UNIT\_DYNFLAG\_TRACK\_UNIT -Creature's location will be seen as a small dot in the minimap -4 -0x04 -UNIT\_DYNFLAG\_TAPPED -Makes creatures name appear grey (Lua\_UnitIsTapped) -8 -0x08 -UNIT\_DYNFLAG\_TAPPED\_BY\_PLAYER -Lua\_UnitIsTappedByPlayer usually used by PCVs (Player Controlled Vehicles) -16 -0x10 -UNIT\_DYNFLAG\_SPECIALINFO -32 -0x20 -UNIT\_DYNFLAG\_DEAD -Makes the creature appear dead (this DOES NOT make the creature's name grey or not attack players). -64 -0x40 -UNIT\_DYNFLAG\_REFER\_A\_FRIEND -128 -0x80 -UNIT\_DYNFLAG\_TAPPED\_BY\_ALL\_THREAT\_LIST -Lua\_UnitIsTappedByAllThreatList + +| Flag | | Name | Comments | +|------|------|----------------------------------------|-----------------------------------------------------------------------------------------------------| +| 0 | 0x00 | UNIT_DYNFLAG_NONE | | +| 1 | 0x01 | UNIT_DYNFLAG_LOOTABLE | | +| 2 | 0x02 | UNIT_DYNFLAG_TRACK_UNIT | Creature's location will be seen as a small dot in the minimap | +| 4 | 0x04 | UNIT_DYNFLAG_TAPPED | Makes creatures name appear grey (Lua_UnitIsTapped) | +| 8 | 0x08 | UNIT_DYNFLAG_TAPPED_BY_PLAYER | Lua_UnitIsTappedByPlayer usually used by PCVs (Player Controlled Vehicles) | +| 16 | 0x10 | UNIT_DYNFLAG_SPECIALINFO | | +| 32 | 0x20 | UNIT_DYNFLAG_DEAD | Makes the creature appear dead (this DOES NOT make the creature's name grey or not attack players). | +| 64 | 0x40 | UNIT_DYNFLAG_REFER_A_FRIEND | | +| 128 | 0x80 | UNIT_DYNFLAG_TAPPED_BY_ALL_THREAT_LIST | Lua_UnitIsTappedByAllThreatList | #### family @@ -629,12 +391,12 @@ The family this creature belongs to. If the NPC is a trainer (has the trainer flag), then this field controls what kind of trainer it is. Both this field and the related field must be filled in for a trainer to work correctly. -| ID | Type | Related Field | Comments | -|-----|----------------------------|---------------------------------------------------------------------------------------|---------------------| -| 0 | TRAINER\_TYPE\_CLASS | [trainer\_class](http://archive.trinitycore.info/Creature_template_tc2#trainer_class) | Trains class spells | -| 1 | TRAINER\_TYPE\_MOUNTS | [trainer\_race](http://archive.trinitycore.info/Creature_template_tc2#trainer_race) | Trains riding skill | -| 2 | TRAINER\_TYPE\_TRADESKILLS | [trainer\_spell](http://archive.trinitycore.info/Creature_template_tc2#trainer_spell) | Trains professions | -| 3 | TRAINER\_TYPE\_PETS | [trainer\_class](http://archive.trinitycore.info/Creature_template_tc2#trainer_class) | Trains pet skills | +| ID | Type | Related Field | Comments | +|----|----------------------------|---------------------------------------------------------------------------------------|---------------------| +| 0 | TRAINER\_TYPE\_CLASS | [trainer\_class](http://archive.trinitycore.info/Creature_template_tc2#trainer_class) | Trains class spells | +| 1 | TRAINER\_TYPE\_MOUNTS | [trainer\_race](http://archive.trinitycore.info/Creature_template_tc2#trainer_race) | Trains riding skill | +| 2 | TRAINER\_TYPE\_TRADESKILLS | [trainer\_spell](http://archive.trinitycore.info/Creature_template_tc2#trainer_spell) | Trains professions | +| 3 | TRAINER\_TYPE\_PETS | [trainer\_class](http://archive.trinitycore.info/Creature_template_tc2#trainer_class) | Trains pet skills | #### trainer\_spell @@ -652,132 +414,54 @@ If the NPC is a mount trainer ([trainer\_type](http://archive.trinitycore.info/C The type of the creature. -| ID | Type | -|-----|----------------| -| 0 | None | -| 1 | Beast | -| 2 | Dragonkin | -| 3 | Demon | -| 4 | Elemental | -| 5 | Giant | -| 6 | Undead | -| 7 | Humanoid | -| 8 | Critter | -| 9 | Mechanical | -| 10 | Not specified | -| 11 | Totem | -| 12 | Non-Combat Pet | -| 13 | Gas Cloud | +| ID | Type | +|----|----------------| +| 0 | None | +| 1 | Beast | +| 2 | Dragonkin | +| 3 | Demon | +| 4 | Elemental | +| 5 | Giant | +| 6 | Undead | +| 7 | Humanoid | +| 8 | Critter | +| 9 | Mechanical | +| 10 | Not specified | +| 11 | Totem | +| 12 | Non-Combat Pet | +| 13 | Gas Cloud | #### type\_flags This field can control whether a mob is minable or herbable or lootable by engineer. If it is either of those three, then the loot given when it is skinned/mined will be stored in the [skinning\_loot\_template](http://archive.trinitycore.info/Loot_template_tc2 "Loot template tc2") table. It also controls, whether this mob can be tamed by a hunter. Other fields have no special meaning on the serverside. The entire field will be send to the client in SMSG\_CREATURE\_QUERY\_RESPONSE -# type\_flags - -Decimal -Hexadecimal -Name -Comments -1 -0x0000 0001 -CREATURE\_TYPEFLAGS\_TAMEABLE -Makes the mob tameable (must also be a beast and have family set) -2 -0x0000 0002 -CREATURE\_TYPEFLAGS\_GHOST -Creature are also visible for not alive player. Allow gossip interaction if npcflag allow? -4 -0x0000 0004 -CREATURE\_TYPEFLAGS\_BOSS -Changes creature's visible level to "??" in the creature's portrait - Inmune Knockback. -8 -0x0000 0008 -CREATURE\_TYPEFLAGS\_DO\_NOT\_PLAY\_WOUND\_PARRY\_ANIMATION -Does not play wound animation on parry. -16 -0x0000 0010 -CREATURE\_TYPEFLAGS\_HIDE\_FACTION\_TOOLTIP -Hides tooltip faction. -32 -0x0000 0020 -CREATURE\_TYPEFLAGS\_UNK6 -64 -0x0000 0040 -CREATURE\_TYPEFLAGS\_SPELL\_ATTACKABLE -Spell attackable. -128 -0x0000 0080 -CREATURE\_TYPEFLAGS\_DEAD\_INTERACT -Player can interact with the creature if its dead (not player dead) -256 -0x0000 0100 -CREATURE\_TYPEFLAGS\_HERBLOOT -Makes mob herbable -512 -0x0000 0200 -CREATURE\_TYPEFLAGS\_MININGLOOT -Makes mob minable -1024 -0x0000 0400 -CREATURE\_TYPEFLAGS\_DONT\_LOG\_DEATH -Does not combatlog death. -2048 -0x0000 0800 -CREATURE\_TYPEFLAGS\_MOUNTED\_COMBAT -Creature can remain mounted when entering combat -4096 -0x0000 1000 -CREATURE\_TYPEFLAGS\_AID\_PLAYERS -Can aid any player in combat if in range? -8192 -0x0000 2000 -CREATURE\_TYPEFLAGS\_IS\_PET\_BAR\_USED -Is using pet bar. -16384 -0x0000 4000 -CREATURE\_TYPEFLAGS\_MASK\_UID -32768 -0x0000 8000 -CREATURE\_TYPEFLAGS\_ENGINEERLOOT -Makes mob lootable by engineer -65536 -0x0001 0000 -CREATURE\_TYPE\_FLAG\_EXOTIC\_PET -Tamable as an exotic pet. Normal tamable flag must also be set. -131072 -0x0002 0000 -CREATURE\_TYPEFLAGS\_USE\_DEFAULT\_COLLISION\_BOX -Collision related. (always using default collision box?) -262144 -0x0004 0000 -CREATURE\_TYPEFLAGS\_IS\_SIEGE\_WEAPON -Is siege weapon. -524288 -0x0008 0000 -CREATURE\_TYPEFLAGS\_PROJECTILE\_COLLISION -Projectiles can collide with this creature - interacts with TARGET\_DEST\_TRAJ - -1048576 -0x0010 0000 -CREATURE\_TYPEFLAGS\_HIDE\_NAMEPLATE -Hides nameplate. -2097152 -0x0020 0000 -CREATURE\_TYPEFLAGS\_DO\_NOT\_PLAY\_MOUNTED\_ANIMATIONS -Does not play mounted animations. -4194304 -0x0040 0000 -CREATURE\_TYPEFLAGS\_IS\_LINK\_ALL -8388608 -0x0080 0000 -CREATURE\_TYPEFLAGS\_INTERACT\_ONLY\_WITH\_CREATOR -Can only interact with its creator. - -134217728 -0x0800 0000 -CREATURE\_TYPEFLAGS\_FORCE\_GOSSIP -Allows the creature to display a single gossip option. +| Flag | | Name | Comments | +|-----------|------------|------------------------------------------------------|--------------------------------------------------------------------------------------------| +| 1 | 0x00000001 | CREATURE_TYPEFLAGS_TAMEABLE | Makes the mob tameable (must also be a beast and have family set) | +| 2 | 0x00000002 | CREATURE_TYPEFLAGS_GHOST | Creature are also visible for not alive player. Allow gossip interaction if npcflag allow? | +| 4 | 0x00000004 | CREATURE_TYPEFLAGS_BOSS | Changes creature's visible level to "??" in the creature's portrait - Immune to Knockback. | +| 8 | 0x00000008 | CREATURE_TYPEFLAGS_DO_NOT_PLAY_WOUND_PARRY_ANIMATION | Does not play wound animation on parry. | +| 16 | 0x00000010 | CREATURE_TYPEFLAGS_HIDE_FACTION_TOOLTIP | Hides tooltip faction. | +| 32 | 0x00000020 | CREATURE_TYPEFLAGS_UNK6 | | +| 64 | 0x00000040 | CREATURE_TYPEFLAGS_SPELL_ATTACKABLE | Spell attackable. | +| 128 | 0x00000080 | CREATURE_TYPEFLAGS_DEAD_INTERACT | Player can interact with the creature if its dead (not player dead) | +| 256 | 0x00000100 | CREATURE_TYPEFLAGS_HERBLOOT | Makes mob herbable | +| 512 | 0x00000200 | CREATURE_TYPEFLAGS_MININGLOOT | Makes mob minable | +| 1024 | 0x00000400 | CREATURE_TYPEFLAGS_DONT_LOG_DEATH | Does not combatlog death. | +| 2048 | 0x00000800 | CREATURE_TYPEFLAGS_MOUNTED_COMBAT | Creature can remain mounted when entering combat | +| 4096 | 0x00001000 | CREATURE_TYPEFLAGS_AID_PLAYERS | Can aid any player in combat if in range? | +| 8192 | 0x00002000 | CREATURE_TYPEFLAGS_IS_PET_BAR_USED | Is using pet bar. | +| 16384 | 0x00004000 | CREATURE_TYPEFLAGS_MASK_UID | | +| 32768 | 0x00008000 | CREATURE_TYPEFLAGS_ENGINEERLOOT | Makes mob lootable by engineer | +| 65536 | 0x00010000 | CREATURE_TYPE_FLAG_EXOTIC_PET | Tamable as an exotic pet. Normal tamable flag must also be set. | +| 131072 | 0x00020000 | CREATURE_TYPEFLAGS_USE_DEFAULT_COLLISION_BOX | Collision related. (always using default collision box?) | +| 262144 | 0x00040000 | CREATURE_TYPEFLAGS_IS_SIEGE_WEAPON | Is siege weapon. | +| 524288 | 0x00080000 | CREATURE_TYPEFLAGS_PROJECTILE_COLLISION | Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ | +| 1048576 | 0x00100000 | CREATURE_TYPEFLAGS_HIDE_NAMEPLATE | Hides nameplate. | +| 2097152 | 0x00200000 | CREATURE_TYPEFLAGS_DO_NOT_PLAY_MOUNTED_ANIMATIONS | Does not play mounted animations. | +| 4194304 | 0x00400000 | CREATURE_TYPEFLAGS_IS_LINK_ALL | | +| 8388608 | 0x00800000 | C