Creature template 548
Back to world database list of tables.
The `creature_template` table
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.
DB Structure
Structure | ||||||
---|---|---|---|---|---|---|
Field | Type | Attribute | Key | Null | Default | Comment |
entry | mediumint(8) | unsigned | PRI | NO | 0 | |
difficulty_entry_1-3 | mediumint(8) | unsigned | NO | NO | 0 | |
KillCredit1 | int(11) | unsigned | NO | NO | 0 | |
KillCredit2 | int(11) | unsigned | NO | NO | 0 | |
modelid1-4 | mediumint(8) | unsigned | NO | NO | 0 | |
name | char(100) | NO | NO | |||
subname | char(100) | NO | YES | |||
IconName | char(100) | NO | YES | |||
gossip_menu_id | mediumint(8) | unsigned | NO | NO | 0 | |
minlevel | smallint(5) | signed | NO | NO | 1 | |
maxlevel | smallint(5) | signed | NO | NO | 1 | |
exp | smallint(5) | signed | NO | NO | 0 | |
exp_unk | smallint(5) | signed | NO | NO | 0 | |
faction_A | smallint(5) | unsigned | NO | NO | 0 | |
faction_H | smallint(5) | unsigned | NO | NO | 0 | |
npcflag | int(10) | unsigned | NO | NO | 0 | |
speed_walk | float | signed | NO | NO | 1 | Result of 2.5/2.5, most common value |
speed_run | float | signed | NO | NO | 1.14286 | Result of 8.0/7.0, most common value |
scale | float | signed | NO | NO | 1 | |
npc_rank | tinyint(3) | unsigned | NO | NO | 0 | |
mindmg | float | signed | NO | NO | 0 | |
maxdmg | float | signed | NO | NO | 0 | |
dmgschool | tinyint(3) | unsigned | NO | NO | 0 | |
attackpower | int(10) | unsigned | NO | NO | 0 | |
dmg_multiplier | float | signed | NO | NO | 1 | |
baseattacktime | int(10) | unsigned | NO | NO | 0 | |
rangeattacktime | int(10) | unsigned | NO | NO | 0 | |
unit_class | tinyint(3) | unsigned | NO | NO | 0 | |
unit_flags | int(10) | unsigned | NO | NO | 0 | |
unit_flags2 | int(10) | unsigned | NO | NO | 0 | |
dynamicflags | int(10) | unsigned | NO | NO | 0 | |
family | tinyint(3) | signed | NO | NO | 0 | |
trainer_type | tinyint(3) | unsigned | NO | NO | 0 | |
trainer_class | tinyint(3) | unsigned | NO | NO | 0 | |
trainer_race | tinyint(3) | unsigned | NO | NO | 0 | |
minrangedmg | float | signed | NO | NO | 0 | |
maxrangedmg | float | signed | NO | NO | 0 | |
rangedattackpower | smallint(5) | unsigned | NO | NO | 0 | |
type | tinyint(3) | unsigned | NO | NO | 0 | Reference by CreatureType.dbc |
type_flags | int(10) | unsigned | NO | NO | 0 | |
type_flags2 | int(10) | unsigned | NO | NO | 0 | |
lootid | mediumint(7) | unsigned | NO | NO | 0 | |
pickpocketloot | mediumint(7) | unsigned | NO | NO | 0 | |
skinloot | mediumint(7) | unsigned | NO | NO | 0 | |
resistance1 | smallint(6) | signed | NO | NO | 0 | |
resistance2 | smallint(6) | signed | NO | NO | 0 | |
resistance3 | smallint(6) | signed | NO | NO | 0 | |
resistance4 | smallint(6) | signed | NO | NO | 0 | |
resistance5 | smallint(6) | signed | NO | NO | 0 | |
resistance6 | smallint(6) | signed | NO | NO | 0 | |
spell1 | mediumint(7) | unsigned | NO | NO | 0 | |
spell2 | mediumint(7) | unsigned | NO | NO | 0 | |
spell3 | mediumint(7) | unsigned | NO | NO | 0 | |
spell4 | mediumint(7) | unsigned | NO | NO | 0 | |
spell5 | mediumint(7) | unsigned | NO | NO | 0 | |
spell6 | mediumint(7) | unsigned | NO | NO | 0 | |
spell7 | mediumint(7) | unsigned | NO | NO | 0 | |
spell8 | mediumint(7) | unsigned | NO | NO | 0 | |
PetSpellDataId | mediumint(7) | unsigned | NO | NO | 0 | |
VehicleId | mediumint(7) | unsigned | NO | NO | 0 | |
mingold | mediumint(7) | unsigned | NO | NO | 0 | |
maxgold | mediumint(7) | unsigned | NO | NO | 0 | |
AIName | char(64) | signed | NO | NO | " | |
MovementType | tinyint(3) | unsigned | NO | NO | 0 | |
InhabitType | tinyint(3) | unsigned | NO | NO | 3 | |
HoverHeight | float | signed | NO | NO | 1 | |
Health_mod | float | signed | NO | NO | 1 | |
Mana_mod | float | signed | NO | NO | 1 | |
Mana_mod_extra | float | signed | NO | NO | 1 | |
Armor_mod | float | signed | NO | NO | 1 | |
RacialLeader | tinyint(3) | unsigned | NO | NO | 0 | |
questItem1 | int(10) | unsigned | NO | NO | 0 | |
questItem2 | int(10) | unsigned | NO | NO | 0 | |
questItem3 | int(10) | unsigned | NO | NO | 0 | |
questItem4 | int(10) | unsigned | NO | NO | 0 | |
questItem5 | int(10) | unsigned | NO | NO | 0 | |
questItem6 | int(10) | unsigned | NO | NO | 0 | |
movementId | int(10) | unsigned | NO | NO | 0 | |
RegenHealth | tinyint(3) | unsigned | NO | NO | 1 | |
mechanic_immune_mask | int(10) | unsigned | NO | NO | 0 | |
flags_extra | int(10) | unsigned | NO | NO | 0 | |
ScriptName | char(64) | signed | NO | NO | " | |
ModLevel | tinyint(3) | unsigned | NO | NO | 0 | |
WDBVerified | smallint(5) | signed | NO | NO | 18414 |
Description of the fields
entry
Creature's unique id.
difficulty_entry_1-3
This field connects the stats from another entry to this template when in 25man normal, 10man heroic or 25man heroic mode instance.
For Dungeons:
difficulty_entry_1 = 5 (Heroic)
For Raids:
difficulty_entry_1 = 25 (Normal)
difficulty_entry_2 = 10 (Heroic)
difficulty_entry_3 = 25 (Heroic)
KillCredit1
If this is a kill credit template -- one that is a dummy template that is used when more than one creature can count as a kill in a quest, then this is a link to the first entry of the creature that could be killed to give quest credit.
KillCredit2
If this is a kill credit template -- one that is a dummy template that is used when more than one creature can count as a kill in a quest, then this is a link to the second entry of the creature that could be killed to give quest credit. If more than two creatures can be killed and count toward a single objective, an smart or C++ script will be required.
modelid1-4
A random graphical model that the client applies on this creature. This is a creature_model_info.modelid.
name
Base name of the creature.
subname
The subname of the creature that appears in <> below the creature's name.
IconName
Used to tell the player what kind of NPC this creature is.
List of known icon names:
Directions - Used for Guards and Teleporter NPC's.
Gunner - Indicator of a Turret NPC/Player Controlled.
vehichleCursor - Indicator that this is a PCV (Player Controlled Vehicle)
Driver - Shows a Steering Wheel icon when mouse over.
Attack - Shows a Sword icon indicating you can attack this target.
Buy - Shows a Brown Bag icon usually if the NPC only sells things.
Speak - Shows a Chat Bubble icon if this NPC has Quest/Gossip options.
Pickup - Shows a Hand Grasping icon of if this NPC can be picked up for quest/items.
Interact - Shows Cog icon commonly used for quest/transport.
Trainer - Shows a Book icon, identifying this NPC as a "Trainer".
Taxi - Shows a Boot w/Wings icon identifying this NPC as a "Taxi".
Repair - Shows a Anvil icon identifying this npc as a Repair NPC.
LootAll - Shows a Multiple Brown Bag icon (Same as holding Shift before looting a creature).
Quest - Unused or Unknown. (See EntryID 32870 The Real Ronakada).
PVP - Unused or Unknown.(See EntryID 29387 Arena Master: Dalaran Arena).
Note: This is not required to make the creature/npc function unless you are using scripts or gossip options.
Also: Names are case sensitive. If in doubt use an example above.
The gossip ID of this creature. This field is obtained from sniff (update fields). If you can not sniff this value, and need to make one up, it must be > 50000. This field is the link to gossip_menu.entry.
minlevel
The minimum level of the creature if the creature has a level range.
maxlevel
The maximum level of the creature if the creature has a level range. When added to world, a level in chosen in the specified level range.
exp
The expansion table the creatures health value is taken from. Values are from 0 to 2. See creature_classlevelstats.
exp_unk
Some infos later
faction_A
Some infos later
faction_H
Some infos later
npcflag
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.
NPC Flag Information | |||
---|---|---|---|
Name | Flag | Comment | |
UNIT_NPC_FLAG_NONE | 0 | 0x00000000 | |
UNIT_NPC_FLAG_GOSSIP | 1 | 0x00000001 | // 100% |
UNIT_NPC_FLAG_QUESTGIVER | 2 | 0x00000002 | // 100% |
UNIT_NPC_FLAG_UNK1 | 4 | 0x00000004 | |
UNIT_NPC_FLAG_UNK2 | 8 | 0x00000008 | |
UNIT_NPC_FLAG_TRAINER | 16 | 0x00000010 | // 100% |
UNIT_NPC_FLAG_TRAINER_CLASS | 32 | 0x00000020 | // 100% |
UNIT_NPC_FLAG_TRAINER_PROFESSION | 64 | 0x00000040 | // 100% |
UNIT_NPC_FLAG_VENDOR | 128 | 0x00000080 | // 100% |
UNIT_NPC_FLAG_VENDOR_AMMO | 256 | 0x00000100 | // 100%, general goods vendor |
UNIT_NPC_FLAG_VENDOR_FOOD | 512 | 0x00000200 | // 100% |
UNIT_NPC_FLAG_VENDOR_POISON | 1024 | 0x00000400 | // guessed |
UNIT_NPC_FLAG_VENDOR_REAGENT | 2048 | 0x00000800 | // 100% |
UNIT_NPC_FLAG_REPAIR | 4096 | 0x00001000 | // 100% |
UNIT_NPC_FLAG_FLIGHTMASTER | 8192 | 0x00002000 | // 100% |
UNIT_NPC_FLAG_SPIRITHEALER | 16384 | 0x00004000 | // guessed |
UNIT_NPC_FLAG_SPIRITGUIDE | 32768 | 0x00008000 | // guessed |
UNIT_NPC_FLAG_INNKEEPER | 65536 | 0x00010000 | // 100% |
UNIT_NPC_FLAG_BANKER | 131072 | 0x00020000 | // 100% |
UNIT_NPC_FLAG_PETITIONER | 262144 | 0x00040000 | // 100% 0xC0000 = guild petitions, 0x40000 = arena team petitions |
UNIT_NPC_FLAG_TABARDDESIGNER | 524288 | 0x00080000 | // 100% |
UNIT_NPC_FLAG_BATTLEMASTER | 1048576 | 0x00100000 | // 100% |
UNIT_NPC_FLAG_AUCTIONEER | 2097152 | 0x00200000 | // 100% |
UNIT_NPC_FLAG_STABLEMASTER | 4194304 | 0x00400000 | // 100% |
UNIT_NPC_FLAG_GUILD_BANKER | 8388608 | 0x00800000 | // cause client to send 997 opcode |
UNIT_NPC_FLAG_SPELLCLICK | 16777216 | 0x01000000 | // cause client to send 1015 opcode (spell click) |
UNIT_NPC_FLAG_PLAYER_VEHICLE | 33554432 | 0x02000000 | // players with mounts that have vehicle data should have it set |
UNIT_NPC_FLAG_REFORGER | 134217728 | 0x08000000 | // reforging |
UNIT_NPC_FLAG_TRANSMOGRIFIER | 268435456 | 0x10000000 | // transmogrification |
UNIT_NPC_FLAG_VAULTKEEPER | 536870912 | 0x20000000 | // void storage |
UNIT_NPC_FLAG_WILDPET_CAPTURABLE | 1073741824 | 0x40000000 | // wild pet |
UNIT_NPC_FLAG_BMAH | 2147483648 | 0x80000000 | // bmah goya (-2147483648) |
So if you want an NPC that is a quest giver, a vendor, and can repair you just add the specific flags together: `npcflag`=`npcflag`|1|2|128|4096
The same with hexadecimal numbers: 0x1 + 0x2 + 0x80 + 0x1000 = 0x1083
speed_walk
Controls how fast the creature can walk. For vehicles: increases fly speed.
speed_run
Some infos later
scale
Some infos later
npc_rank
Creature NPC Rank | ||
---|---|---|
Rank | Id | Comment |
CREATURE_ELITE_NORMAL | 0 | |
CREATURE_ELITE_ELITE | 1 | |
CREATURE_ELITE_RAREELITE | 2 | |
CREATURE_ELITE_WORLDBOSS | 3 | |
CREATURE_ELITE_RARE | 4 | |
CREATURE_UNKNOWN | 5 | // found in 2.2.3 for 2 mobs |
mindmg
Some infos later
maxdmg
Some infos later
dmgschool
Some infos later
attackpower
Some infos later
dmg_multiplier
Some infos later
baseattacktime
Some infos later
rangeattacktime
Some infos later
unit_class
Unit Class Information | |
---|---|
Class | Id |
UNIT_CLASS_WARRIOR | 1 |
UNIT_CLASS_PALADIN | 2 |
UNIT_CLASS_ROGUE | 4 |
UNIT_CLASS_MAGE | 8 |
unit_flags
Unit Flags Information | |||
---|---|---|---|
Name | Flag | Comment | |
UNIT_FLAG_SERVER_CONTROLLED | 1 | 0x00000001 | // set only when unit movement is controlled by server - by SPLINE/MONSTER_MOVE packets, together with UNIT_FLAG_STUNNED; only set to units controlled by client; client function CGUnit_C::IsClientControlled returns false when set for owner |
UNIT_FLAG_NON_ATTACKABLE | 2 | 0x00000002 | // not attackable |
UNIT_FLAG_DISABLE_MOVE | 4 | 0x00000004 | |
UNIT_FLAG_PVP_ATTACKABLE | 8 | 0x00000008 | // allow apply pvp rules to attackable state in addition to faction dependent state |
UNIT_FLAG_RENAME | 16 | 0x00000010 | |
UNIT_FLAG_PREPARATION | 32 | 0x00000020 | // don't take reagents for spells with SPELL_ATTR5_NO_REAGENT_WHILE_PREP |
UNIT_FLAG_UNK_6 | 64 | 0x00000040 | |
UNIT_FLAG_NOT_ATTACKABLE_1 | 128 | 0x00000080 | UNIT_FLAG_NOT_ATTACKABLE_1) is NON_PVP_ATTACKABLE |
UNIT_FLAG_IMMUNE_TO_PC | 256 | 0x00000100 | // disables combat/assistance with PlayerCharacters (PC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget |
UNIT_FLAG_IMMUNE_TO_NPC | 512 | 0x00000200 | // disables combat/assistance with NonPlayerCharacters (NPC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget |
UNIT_FLAG_LOOTING | 1024 | 0x00000400 | // loot animation |
UNIT_FLAG_PET_IN_COMBAT | 2048 | 0x00000800 | // in combat?, 2.0.8 |
UNIT_FLAG_PVP | 4096 | 0x00001000 | // changed in 3.0.3 |
UNIT_FLAG_SILENCED | 8192 | 0x00002000 | // silenced, 2.1.1 |
UNIT_FLAG_UNK_14 | 16384 | 0x00004000 | // 2.0.8 |
UNIT_FLAG_UNK_15 | 32768 | 0x00008000 | |
UNIT_FLAG_UNK_16 | 65536 | 0x00010000 | |
UNIT_FLAG_PACIFIED | 131072 | 0x00020000 | // 3.0.3 ok |
UNIT_FLAG_STUNNED | 262144 | 0x00040000 | // 3.0.3 ok |
UNIT_FLAG_IN_COMBAT | 524288 | 0x00080000 | |
UNIT_FLAG_TAXI_FLIGHT | 1048576 | 0x00100000 | // disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag |
UNIT_FLAG_DISARMED | 2097152 | 0x00200000 | // 3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip. |
UNIT_FLAG_CONFUSED | 4194304 | 0x00400000 | |
UNIT_FLAG_FLEEING | 8388608 | 0x00800000 | |
UNIT_FLAG_PLAYER_CONTROLLED | 16777216 | 0x01000000 | // used in spell Eyes of the Beast for pet... let attack by controlled creature |
UNIT_FLAG_NOT_SELECTABLE | 33554432 | 0x02000000 | |
UNIT_FLAG_SKINNABLE | 67108864 | 0x04000000 | |
UNIT_FLAG_MOUNT | 134217728 | 0x08000000 | |
UNIT_FLAG_UNK_28 | 268435456 | 0x10000000 | |
UNIT_FLAG_DISABLE_POWERS | 536870912 | 0x20000000 | // used in Feing Death spell |
UNIT_FLAG_SHEATHE | 1073741824 | 0x40000000 | |
UNIT_FLAG_UNK_31 | 2147483648 | 0x80000000 |
unit_flags2
Unit Flag 2 Information | |||
---|---|---|---|
Name | Flag | Comment | |
UNIT_FLAG2_FEIGN_DEATH | 1 | 0x00000001 | |
UNIT_FLAG2_UNK1 | 2 | 0x00000002 | // Hide unit model (show only player equip) |
UNIT_FLAG2_IGNORE_REPUTATION | 4 | 0x00000004 | |
UNIT_FLAG2_COMPREHEND_LANG | 8 | 0x00000008 | |
UNIT_FLAG2_MIRROR_IMAGE | 16 | 0x00000010 | |
UNIT_FLAG2_INSTANTLY_APPEAR_MODEL | 32 | 0x00000020 | // Unit model instantly appears when summoned (does not fade in) |
UNIT_FLAG2_FORCE_MOVEMENT | 64 | 0x00000040 | |
UNIT_FLAG2_DISARM_OFFHAND | 128 | 0x00000080 | |
UNIT_FLAG2_DISABLE_PRED_STATS | 256 | 0x00000100 | // Player has disabled predicted stats (Used by raid frames) |
UNIT_FLAG2_DISARM_RANGED | 512 | 0x00000400 | // this does not disable ranged weapon display (maybe additional flag needed?) |
UNIT_FLAG2_REGENERATE_POWER | 1024 | 0x00000800 | |
UNIT_FLAG2_RESTRICT_PARTY_INTERACTION | 2048 | 0x00001000 | // Restrict interaction to party or raid |
UNIT_FLAG2_PREVENT_SPELL_CLICK | 4096 | 0x00002000 | // Prevent spellclick |
UNIT_FLAG2_ALLOW_ENEMY_INTERACT | 8192 | 0x00004000 | |
UNIT_FLAG2_DISABLE_TURN | 16384 | 0x00008000 | |
UNIT_FLAG2_UNK2 | 32768 | 0x00010000 | |
UNIT_FLAG2_PLAY_DEATH_ANIM | 65536 | 0x00020000 | // Plays special death animation upon death |
UNIT_FLAG2_ALLOW_CHEAT_SPELLS | 131072 | 0x00040000 | // Allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL |
dynamicflags
Some infos later
family
Reference by CreatureFamily.dbc
Creature Family Information | ||
---|---|---|
Family | Id | Comment |
CREATURE_FAMILY_WOLF | 1 | |
CREATURE_FAMILY_CAT | 2 | |
CREATURE_FAMILY_SPIDER | 3 | |
CREATURE_FAMILY_BEAR | 4 | |
CREATURE_FAMILY_BOAR | 5 | |
CREATURE_FAMILY_CROCOLISK | 6 | |
CREATURE_FAMILY_CARRION_BIRD | 7 | |
CREATURE_FAMILY_CRAB | 8 | |
CREATURE_FAMILY_GORILLA | 9 | |
CREATURE_FAMILY_HORSE_CUSTOM | 10 | // Does not exist in DBC but used for horse like beasts in DB |
CREATURE_FAMILY_RAPTOR | 11 | |
CREATURE_FAMILY_TALLSTRIDER | 12 | |
CREATURE_FAMILY_FELHUNTER | 15 | |
CREATURE_FAMILY_VOIDWALKER | 16 | |
CREATURE_FAMILY_SUCCUBUS | 17 | |
CREATURE_FAMILY_DOOMGUARD | 19 | |
CREATURE_FAMILY_SCORPID | 20 | |
CREATURE_FAMILY_TURTLE | 21 | |
CREATURE_FAMILY_IMP | 23 | |
CREATURE_FAMILY_BAT | 24 | |
CREATURE_FAMILY_HYENA | 25 | |
CREATURE_FAMILY_BIRD_OF_PREY | 26 | |
CREATURE_FAMILY_WIND_SERPENT | 27 | |
CREATURE_FAMILY_REMOTE_CONTROL | 28 | |
CREATURE_FAMILY_FELGUARD | 29 | |
CREATURE_FAMILY_DRAGONHAWK | 30 | |
CREATURE_FAMILY_RAVAGER | 31 | |
CREATURE_FAMILY_WARP_STALKER | 32 | |
CREATURE_FAMILY_SPOREBAT | 33 | |
CREATURE_FAMILY_NETHER_RAY | 34 | |
CREATURE_FAMILY_SERPENT | 35 | |
CREATURE_FAMILY_MOTH | 37 | |
CREATURE_FAMILY_CHIMAERA | 38 | |
CREATURE_FAMILY_DEVILSAUR | 39 | |
CREATURE_FAMILY_GHOUL | 40 | |
CREATURE_FAMILY_SILITHID | 41 | |
CREATURE_FAMILY_WORM | 42 | |
CREATURE_FAMILY_RHINO | 43 | |
CREATURE_FAMILY_WASP | 44 | |
CREATURE_FAMILY_CORE_HOUND | 45 | |
CREATURE_FAMILY_SPIRIT_BEAST | 46 | |
CREATURE_FAMILY_WATER_ELEMENTAL | 49 | |
CREATURE_FAMILY_FOX | 50 | |
CREATURE_FAMILY_MONKEY | 51 | |
CREATURE_FAMILY_DOG | 52 | |
CREATURE_FAMILY_BEETLE | 53 | |
CREATURE_FAMILY_SHALE_SPIDER | 55 | |
CREATURE_FAMILY_ZOMBIE | 56 | |
CREATURE_FAMILY_QA_TEST_FAMILY | 57 | |
CREATURE_FAMILY_SILITHID_2 | 59 | |
CREATURE_FAMILY_WASP_2 | 66 | |
CREATURE_FAMILY_HYDRA | 68 | |
CREATURE_FAMILY_FEL_IMP | 100 | |
CREATURE_FAMILY_VOIDLORD | 101 | |
CREATURE_FAMILY_SHIVARRA | 102 | |
CREATURE_FAMILY_OBSERVER | 103 | |
CREATURE_FAMILY_WRATHGUARD | 104 | |
CREATURE_FAMILY_INFERNAL | 108 | |
CREATURE_FAMILY_FIRE_ELEMENTAL | 116 | |
CREATURE_FAMILY_EARTH_ELEMENTAL | 117 | |
CREATURE_FAMILY_CRANE | 125 | |
CREATURE_FAMILY_WATER_STRIDER | 126 | |
CREATURE_FAMILY_PORCUPINE | 127 | |
CREATURE_FAMILY_QUILEN | 128 | |
CREATURE_FAMILY_GOAT | 129 | |
CREATURE_FAMILY_BASILISK | 130 | |
CREATURE_FAMILY_DIREHORN | 138 |
trainer_type
Trainer Type Information | ||
---|---|---|
Type | Id | Comment |
TRAINER_TYPE_CLASS | 0 | |
TRAINER_TYPE_MOUNTS | 1 | // on blizz it's 2 |
TRAINER_TYPE_TRADESKILLS | 2 | |
TRAINER_TYPE_PETS | 3 |
trainer_class
Some infos later
trainer_race
Some infos later
minrangedmg
Some infos later
maxrangedmg
Some infos later
rangedattackpower
Some infos later
type
Reference by CreatureType.dbc
Creature Type Information | |
---|---|
Type | Id |
CREATURE_TYPE_BEAST | 1 |
CREATURE_TYPE_DRAGONKIN | 2 |
CREATURE_TYPE_DEMON | 3 |
CREATURE_TYPE_ELEMENTAL | 4 |
CREATURE_TYPE_GIANT | 5 |
CREATURE_TYPE_UNDEAD | 6 |
CREATURE_TYPE_HUMANOID | 7 |
CREATURE_TYPE_CRITTER | 8 |
CREATURE_TYPE_MECHANICAL | 9 |
CREATURE_TYPE_NOT_SPECIFIED | 10 |
CREATURE_TYPE_TOTEM | 11 |
CREATURE_TYPE_NON_COMBAT_PET | 12 |
CREATURE_TYPE_GAS_CLOUD | 13 |
CREATURE_TYPE_WILD_PET | 14 |
CREATURE_TYPE_ABERRATION | 15 |
type_flags
Creature Type Flags Information | |||
---|---|---|---|
Type | Flag | Comment | |
CREATURE_TYPEFLAGS_TAMEABLE | 1 | 0x00000001 | // Makes the mob tameable (must also be a beast and have family set) |
CREATURE_TYPEFLAGS_GHOST | 2 | 0x00000002 | // Creature are also visible for not alive player. Allow gossip interaction if npcflag allow? |
CREATURE_TYPEFLAGS_BOSS | 4 | 0x00000004 | // Changes creature's visible level to "??" in the creature's portrait - Immune to Knockback. |
CREATURE_TYPEFLAGS_UNK3 | 8 | 0x00000008 | |
CREATURE_TYPEFLAGS_UNK4 | 16 | 0x00000010 | |
CREATURE_TYPEFLAGS_UNK5 | 32 | 0x00000020 | |
CREATURE_TYPEFLAGS_UNK6 | 64 | 0x00000040 | |
CREATURE_TYPEFLAGS_DEAD_INTERACT | 128 | 0x00000080 | // Player can interact with the creature if its dead (not player dead) |
CREATURE_TYPEFLAGS_HERBLOOT | 256 | 0x00000100 | // Can be looted by herbalist |
CREATURE_TYPEFLAGS_MININGLOOT | 512 | 0x00000200 | // Can be looted by miner |
CREATURE_TYPEFLAGS_UNK10 | 1024 | 0x00000400 | |
CREATURE_TYPEFLAGS_MOUNTED_COMBAT | 2048 | 0x00000800 | // Creature can remain mounted when entering combat |
CREATURE_TYPEFLAGS_AID_PLAYERS | 4096 | 0x00001000 | // ? Can aid any player in combat if in range? |
CREATURE_TYPEFLAGS_UNK13 | 8192 | 0x00002000 | |
CREATURE_TYPEFLAGS_UNK14 | 16384 | 0x00004000 | // ? Possibly not in use |
CREATURE_TYPEFLAGS_ENGINEERLOOT | 32768 | 0x00008000 | // Can be looted by engineer |
CREATURE_TYPEFLAGS_EXOTIC | 65536 | 0x00010000 | // Can be tamed by hunter as exotic pet |
CREATURE_TYPEFLAGS_UNK17 | 131072 | 0x00020000 | // ? Related to vehicles/pvp? |
CREATURE_TYPEFLAGS_UNK18 | 262144 | 0x00040000 | // ? Related to vehicle/siege weapons? |
CREATURE_TYPEFLAGS_UNK19 | 524288 | 0x00080000 | |
CREATURE_TYPEFLAGS_UNK20 | 1048576 | 0x00100000 | |
CREATURE_TYPEFLAGS_UNK21 | 2097152 | 0x00200000 | |
CREATURE_TYPEFLAGS_UNK22 | 4194304 | 0x00400000 | |
CREATURE_TYPEFLAGS_UNK23 | 8388608 | 0x00800000 | // ? First seen in 3.2.2. Related to banner/backpack of creature/companion? |
CREATURE_TYPEFLAGS_UNK24 | 16777216 | 0x01000000 | |
CREATURE_TYPEFLAGS_UNK25 | 33554432 | 0x02000000 | |
CREATURE_TYPEFLAGS_PARTY_MEMBER | 67108864 | 0x04000000 | //! Creature can be targeted by spells that require target to be in caster's party/raid |
CREATURE_TYPEFLAGS_UNK27 | 134217728 | 0x08000000 | |
CREATURE_TYPEFLAGS_UNK28 | 268435456 | 0x10000000 | |
CREATURE_TYPEFLAGS_UNK29 | 536870912 | 0x20000000 | |
CREATURE_TYPEFLAGS_UNK30 | 1073741824 | 0x40000000 | |
CREATURE_TYPEFLAGS_UNK31 | 2147483648 | 0x80000000 |
type_flags2
Creature TypeFlags2 Information | ||
---|---|---|
Type | Flag | |
CREATURE_TYPEFLAGS_2_UNK1 | 1 | 0x00000001 |
CREATURE_TYPEFLAGS_2_UNK2 | 2 | 0x00000002 |
CREATURE_TYPEFLAGS_2_UNK3 | 4 | 0x00000004 |
CREATURE_TYPEFLAGS_2_UNK4 | 8 | 0x00000008 |
CREATURE_TYPEFLAGS_2_UNK5 | 16 | 0x00000010 |
CREATURE_TYPEFLAGS_2_UNK6 | 32 | 0x00000020 |
CREATURE_TYPEFLAGS_2_UNK7 | 64 | 0x00000040 |
CREATURE_TYPEFLAGS_2_UNK8 | 128 | 0x00000080 |
lootid
Some infos later
pickpocketloot
Some infos later
skinloot
Some infos later
resistance1
Some infos later
resistance2
Some infos later
resistance3
Some infos later
resistance4
Some infos later
resistance5
Some infos later
resistance6
Some infos later
spell1
Some infos later
spell2
Some infos later
spell3
Some infos later
spell4
Some infos later
spell5
Some infos later
spell6
Some infos later
spell7
Some infos later
spell8
Some infos later
PetSpellDataId
Some infos later
VehicleId
Some infos later
mingold
Some infos later
maxgold
Some infos later
AIName
Some infos later
MovementType
MovementType Information | ||
---|---|---|
Type | Id | Comment |
IDLE_MOTION_TYPE | 0 | IDLE Dont Move |
RANDOM_MOTION_TYPE | 1 | Random Movement |
WAYPOINT_MOTION_TYPE | 2 | Movement by Waypoint |
MAX_DB_MOTION_TYPE | 3 | Can only called from server script. |
CONFUSED_MOTION_TYPE | 4 | Can only called from server script. |
CHASE_MOTION_TYPE | 5 | Can only called from server script. |
HOME_MOTION_TYPE | 6 | Can only called from server script. |
FLIGHT_MOTION_TYPE | 7 | Can only called from server script. |
POINT_MOTION_TYPE | 8 | Can only called from server script. |
FLEEING_MOTION_TYPE | 9 | Can only called from server script. |
DISTRACT_MOTION_TYPE | 10 | Can only called from server script. |
ASSISTANCE_MOTION_TYPE | 11 | Can only called from server script. |
ASSISTANCE_DISTRACT_MOTION_TYPE | 12 | Can only called from server script. |
TIMED_FLEEING_MOTION_TYPE | 13 | Can only called from server script. |
FOLLOW_MOTION_TYPE | 14 | Can only called from server script. |
ROTATE_MOTION_TYPE | 15 | Can only called from server script. |
EFFECT_MOTION_TYPE | 16 | Can only called from server script. |
NULL_MOTION_TYPE | 17 | Can only called from server script. |
InhabitType
Some infos later
HoverHeight
Some infos later
Health_mod
Some infos later
Mana_mod
Some infos later
Mana_mod_extra
Some infos later
Armor_mod
Some infos later
RacialLeader
Some infos later
questItem1
Some infos later
questItem2
Some infos later
questItem3
Some infos later
questItem4
Some infos later
questItem5
Some infos later
questItem6
Some infos later
movementId
Some infos later
RegenHealth
Some infos later
mechanic_immune_mask
Some infos later
flags_extra
Flags Extra Informations | |||
---|---|---|---|
Name | Flag | Comment | |
CREATURE_FLAG_EXTRA_INSTANCE_BIND | 1 | 0x00000001 | // creature kill bind instance with killer and killer's group |
CREATURE_FLAG_EXTRA_CIVILIAN | 2 | 0x00000002 | // not aggro (ignore faction/reputation hostility) |
CREATURE_FLAG_EXTRA_NO_PARRY | 4 | 0x00000004 | // creature can't parry |
CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN | 8 | 0x00000008 | // creature can't counter-attack at parry |
CREATURE_FLAG_EXTRA_NO_BLOCK | 16 | 0x00000010 | // creature can't block |
CREATURE_FLAG_EXTRA_NO_CRUSH | 32 | 0x00000020 | // creature can't do crush attacks |
CREATURE_FLAG_EXTRA_NO_XP_AT_KILL | 64 | 0x00000040 | // creature kill not provide XP |
CREATURE_FLAG_EXTRA_TRIGGER | 128 | 0x00000080 | // trigger creature |
CREATURE_FLAG_EXTRA_NO_TAUNT | 256 | 0x00000100 | // creature is immune to taunt auras and effect attack me |
CREATURE_FLAG_EXTRA_WORLDEVENT | 512 | 0x00004000 | // custom flag for world event creatures (left room for merging) |
CREATURE_FLAG_EXTRA_GUARD | 1024 | 0x00008000 | // Creature is guard |
CREATURE_FLAG_EXTRA_NO_CRIT | 2048 | 0x00020000 | // creature can't do critical strikes |
CREATURE_FLAG_EXTRA_NO_SKILLGAIN | 4096 | 0x00040000 | // creature won't increase weapon skills |
CREATURE_FLAG_EXTRA_TAUNT_DIMINISH | 8192 | 0x00080000 | // Taunt is a subject to diminishing returns on this creautre |
CREATURE_FLAG_EXTRA_ALL_DIMINISH | 16384 | 0x00100000 | // Creature is subject to all diminishing returns as player are |
CREATURE_FLAG_EXTRA_DUNGEON_BOSS | 32768 | 0x10000000 | // creature is a dungeon boss (SET DYNAMICALLY, DO NOT ADD IN DB) |
ScriptName
Some infos later
ModLevel
Some infos later