Creature template 548: Difference between revisions
(41 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{Back-to:World_18414}} | {{Back-to:World_18414}} | ||
'''The `creature_template` table'''<br> | |||
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. | |||
{| class="wikitable" | {| class="wikitable" | ||
!colspan="7"|Structure | !colspan="7"|Structure | ||
Line 29: | Line 26: | ||
| | | | ||
|- | |- | ||
|[[#difficulty_entry_1|difficulty_entry_1 | |[[#difficulty_entry_1-3|difficulty_entry_1-3]] | ||
|mediumint(8) | |mediumint(8) | ||
|unsigned | |unsigned | ||
Line 69: | Line 50: | ||
| | | | ||
|- | |- | ||
|[[#modelid1|modelid1]] | |[[#modelid1-4|modelid1-4]] | ||
|mediumint(8) | |mediumint(8) | ||
|unsigned | |unsigned | ||
Line 77: | Line 58: | ||
| | | | ||
|- | |- | ||
|[[# | |[[#name|name]] | ||
| | |char(100) | ||
| | | | ||
|NO | |NO | ||
|NO | |NO | ||
| | | | ||
| | | | ||
|- | |- | ||
|[[#subname|subname]] | |||
|char(100) | |||
| | |||
|[[#subname|subname]] | |||
|char(100) | |||
| | |||
|NO | |NO | ||
|YES | |YES | ||
Line 135: | Line 92: | ||
|[[#minlevel|minlevel]] | |[[#minlevel|minlevel]] | ||
|smallint(5) | |smallint(5) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 143: | Line 100: | ||
|[[#maxlevel|maxlevel]] | |[[#maxlevel|maxlevel]] | ||
|smallint(5) | |smallint(5) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 151: | Line 108: | ||
|[[#exp|exp]] | |[[#exp|exp]] | ||
|smallint(5) | |smallint(5) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 159: | Line 116: | ||
|[[#exp_unk|exp_unk]] | |[[#exp_unk|exp_unk]] | ||
|smallint(5) | |smallint(5) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 183: | Line 140: | ||
|[[#npcflag|npcflag]] | |[[#npcflag|npcflag]] | ||
|int(10) | |int(10) | ||
| | |unsigned | ||
|NO | |NO | ||
|NO | |NO | ||
Line 191: | Line 148: | ||
|[[#speed_walk|speed_walk]] | |[[#speed_walk|speed_walk]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 199: | Line 156: | ||
|[[#speed_run|speed_run]] | |[[#speed_run|speed_run]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 207: | Line 164: | ||
|[[#scale|scale]] | |[[#scale|scale]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 223: | Line 180: | ||
|[[#mindmg|mindmg]] | |[[#mindmg|mindmg]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 231: | Line 188: | ||
|[[#maxdmg|maxdmg]] | |[[#maxdmg|maxdmg]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 239: | Line 196: | ||
|[[#dmgschool|dmgschool]] | |[[#dmgschool|dmgschool]] | ||
|tinyint(3) | |tinyint(3) | ||
| | |unsigned | ||
|NO | |NO | ||
|NO | |NO | ||
Line 255: | Line 212: | ||
|[[#dmg_multiplier|dmg_multiplier]] | |[[#dmg_multiplier|dmg_multiplier]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 311: | Line 268: | ||
|[[#family|family]] | |[[#family|family]] | ||
|tinyint(3) | |tinyint(3) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 319: | Line 276: | ||
|[[#trainer_type|trainer_type]] | |[[#trainer_type|trainer_type]] | ||
|tinyint(3) | |tinyint(3) | ||
| | |unsigned | ||
|NO | |NO | ||
|NO | |NO | ||
Line 343: | Line 300: | ||
|[[#minrangedmg|minrangedmg]] | |[[#minrangedmg|minrangedmg]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 351: | Line 308: | ||
|[[#maxrangedmg|maxrangedmg]] | |[[#maxrangedmg|maxrangedmg]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 415: | Line 372: | ||
|[[#resistance1|resistance1]] | |[[#resistance1|resistance1]] | ||
|smallint(6) | |smallint(6) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 423: | Line 380: | ||
|[[#resistance2|resistance2]] | |[[#resistance2|resistance2]] | ||
|smallint(6) | |smallint(6) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 431: | Line 388: | ||
|[[#resistance3|resistance3]] | |[[#resistance3|resistance3]] | ||
|smallint(6) | |smallint(6) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 439: | Line 396: | ||
|[[#resistance4|resistance4]] | |[[#resistance4|resistance4]] | ||
|smallint(6) | |smallint(6) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 447: | Line 404: | ||
|[[#resistance5|resistance5]] | |[[#resistance5|resistance5]] | ||
|smallint(6) | |smallint(6) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 455: | Line 412: | ||
|[[#resistance6|resistance6]] | |[[#resistance6|resistance6]] | ||
|smallint(6) | |smallint(6) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 559: | Line 516: | ||
|[[#AIName|AIName]] | |[[#AIName|AIName]] | ||
|char(64) | |char(64) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
| | |" | ||
| | | | ||
|- | |- | ||
Line 583: | Line 540: | ||
|[[#HoverHeight|HoverHeight]] | |[[#HoverHeight|HoverHeight]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 591: | Line 548: | ||
|[[#Health_mod|Health_mod]] | |[[#Health_mod|Health_mod]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 599: | Line 556: | ||
|[[#Mana_mod|Mana_mod]] | |[[#Mana_mod|Mana_mod]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 607: | Line 564: | ||
|[[#Mana_mod_extra|Mana_mod_extra]] | |[[#Mana_mod_extra|Mana_mod_extra]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 615: | Line 572: | ||
|[[#Armor_mod|Armor_mod]] | |[[#Armor_mod|Armor_mod]] | ||
|float | |float | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 712: | Line 669: | ||
|[[#ScriptName|ScriptName]] | |[[#ScriptName|ScriptName]] | ||
|char(64) | |char(64) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
| | |" | ||
| | | | ||
|- | |- | ||
Line 728: | Line 685: | ||
|[[#WDBVerified|WDBVerified]] | |[[#WDBVerified|WDBVerified]] | ||
|smallint(5) | |smallint(5) | ||
| | |signed | ||
|NO | |NO | ||
|NO | |NO | ||
Line 742: | Line 699: | ||
===entry=== | ===entry=== | ||
Creature's unique id. | |||
===difficulty_entry_1=== | ===difficulty_entry_1-3=== | ||
This field connects the stats from another [[Creature_template_548#entry|entry]] to this template when in 25man normal, 10man heroic or 25man heroic mode instance.<br> | |||
= | '''For Dungeons:'''<br> | ||
difficulty_entry_1 = 5 (Heroic)<br> | |||
<br> | |||
'''For Raids:'''<br> | |||
= | difficulty_entry_1 = 25 (Normal)<br> | ||
difficulty_entry_2 = 10 (Heroic)<br> | |||
difficulty_entry_3 = 25 (Heroic) | |||
===KillCredit1=== | ===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 [[Creature_template_548#entry|entry]] of the creature that could be killed to give quest credit. | |||
===KillCredit2=== | ===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 [[Creature_template_548#entry|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_548#modelid|creature_model_info.modelid]]. | |||
===name=== | ===name=== | ||
Base name of the creature. | |||
===subname=== | ===subname=== | ||
The subname of the creature that appears in <> below the creature's name. | |||
===IconName=== | ===IconName=== | ||
Used to tell the player what kind of NPC this creature is.<br> | |||
<br> | |||
'''List of known icon names:'''<br> | |||
'''Directions''' - Used for Guards and Teleporter NPC's.<br> | |||
'''Gunner''' - Indicator of a Turret NPC/Player Controlled.<br> | |||
'''vehichleCursor''' - Indicator that this is a PCV (Player Controlled Vehicle)<br> | |||
'''Driver''' - Shows a Steering Wheel icon when mouse over.<br> | |||
'''Attack''' - Shows a Sword icon indicating you can attack this target.<br> | |||
'''Buy''' - Shows a Brown Bag icon usually if the NPC only sells things.<br> | |||
'''Speak''' - Shows a Chat Bubble icon if this NPC has Quest/Gossip options.<br> | |||
'''Pickup''' - Shows a Hand Grasping icon of if this NPC can be picked up for quest/items.<br> | |||
'''Interact''' - Shows Cog icon commonly used for quest/transport.<br> | |||
'''Trainer''' - Shows a Book icon, identifying this NPC as a "Trainer".<br> | |||
'''Taxi''' - Shows a Boot w/Wings icon identifying this NPC as a "Taxi".<br> | |||
'''Repair''' - Shows a Anvil icon identifying this npc as a Repair NPC.<br> | |||
'''LootAll''' - Shows a Multiple Brown Bag icon (Same as holding Shift before looting a creature).<br> | |||
'''Quest''' - Unused or Unknown. (See EntryID 32870 The Real Ronakada).<br> | |||
'''PVP''' - Unused or Unknown.(See EntryID 29387 Arena Master: Dalaran Arena).<br> | |||
<br> | |||
'''Note: This is not required to make the creature/npc function unless you are using scripts or gossip options.<br> | |||
'''Also: Names are case sensitive. If in doubt use an example above.''' | |||
===gossip_menu_id=== | ===gossip_menu_id=== | ||
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_548#entry|gossip_menu.entry]]. | |||
===minlevel=== | ===minlevel=== | ||
The minimum level of the creature if the creature has a level range. | |||
===maxlevel=== | ===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=== | ===exp=== | ||
The expansion table the creatures health value is taken from. Values are from 0 to 2. See [[Creature_classlevelstats_548|creature_classlevelstats]]. | |||
===exp_unk=== | ===exp_unk=== | ||
Line 821: | Line 786: | ||
===npcflag=== | ===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. | |||
{| class="wikitable" | {| class="wikitable" | ||
!colspan=" | !colspan="4"|NPC Flag Information | ||
|- | |- | ||
|''' | |'''Name''' | ||
|''' | |colspan="2"|'''Flag''' | ||
|'''Comment''' | |'''Comment''' | ||
|- | |- | ||
| | |UNIT_NPC_FLAG_NONE | ||
|0 | |0 | ||
|0x00000000 | |||
| | | | ||
|- | |- | ||
| | |UNIT_NPC_FLAG_GOSSIP | ||
|1 | |1 | ||
| | |0x00000001 | ||
|// 100% | |||
|- | |- | ||
| | |UNIT_NPC_FLAG_QUESTGIVER | ||
|2 | |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<br> | |||
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=== | |||
Controls how fast the creature can run. For vehicles: increases ground movement speed. | |||
===scale=== | |||
If non-zero, this field defines the size of how the model of the creature appears ingame. If zero, it will use default model size taken from the DBC. | |||
===npc_rank=== | |||
The rank of the creature: | |||
{| class="wikitable" | |||
!colspan="6"|Creature NPC Rank | |||
|- | |- | ||
| | |'''Rank''' | ||
| | |'''Name''' | ||
| | |'''Default Respawn Time<br> [[Creature_548#spawntimesecs|spawntimesecs]]''' | ||
|'''Corpse Decay Time<br> Worldserver.conf (Corpse.Decay)''' | |||
|'''Total Default Respawn<br> [[Creature_548#spawntimesecs|spawntimesecs]] + Corpse.Decay''' | |||
|'''Comment''' | |||
|- | |- | ||
| | |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 | |||
| | | | ||
|- | |- | ||
| | |5 | ||
| | |Unknown | ||
| | |5 Min | ||
| | |Unknown | ||
| | |Unknown | ||
| | |// found in 2.2.3 for 2 mobs | ||
| | |} | ||
| | '''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.<br> | ||
| | <br> | ||
'''Note 2''': Respawn times can be modified in two other places: [[Creature_548#spawntimesecs|Creature.spawntimesecs]] (only for that single GUID of the creature) and in the worldserver.conf file under the "Corpse.Decay" settings (for ALL creatures of the same rank). The default `spawntimesecs` for all spawned creatures is 300 seconds (5 minutes). For example, using the ".npc add" command to spawn a "Normal" NPC will give it a default respawn time of 6 minutes (spawntimesecs + Corpse.Decay time). Also, the creature must decay first before it can respawn. For this reason, the Corpse Decay Time of the creature is also it's minimum respawn time, since setting the creature's Creature.spawntimesecs = 0 will remove the Default Respawn Time. In the example above, setting our Normal NPC's spawntimesecs = 0 will mean the creature's respawn time decreases from 6 minutes to 60 seconds.<br> | |||
<br> | |||
'''Note 3''': If you want the creature to show a skull or "??" in the portrait (often with Bosses), set the [[Creature_template_548#type_flags|type_flags]] to 4. | |||
| | ===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=== | |||
{| class="wikitable" | |||
!colspan="2"|Unit Class Information | |||
|- | |- | ||
| | |'''Class''' | ||
|'''Id''' | |||
| | |||
|- | |- | ||
| | |UNIT_CLASS_WARRIOR | ||
|1 | |||
| | |||
|- | |- | ||
| | |UNIT_CLASS_PALADIN | ||
|2 | |||
| | |||
|- | |- | ||
| | |UNIT_CLASS_ROGUE | ||
|4 | |||
| | |||
|- | |- | ||
| | |UNIT_CLASS_MAGE | ||
| | |8 | ||
| | |} | ||
===unit_flags=== | |||
{| class="wikitable" | |||
!colspan="4"|Unit Flags Information | |||
|- | |- | ||
| | |'''Name''' | ||
| | |colspan="2"|'''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_PVP_ATTACKABLE | 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=== | |||
{| class="wikitable" | |||
!colspan="4"|Unit Flag 2 Information | |||
|- | |- | ||
| | |'''Name''' | ||
| | |colspan="2"|'''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=== | ||
Flags that control visual appearance of the creature.<br> | |||
A few known flags and their use are: | |||
{| class="wikitable" | {| class="wikitable" | ||
!colspan=" | !colspan="4"|Unit Flag 2 Information | ||
|- | |- | ||
|''' | |'''Name''' | ||
|''' | |colspan="2"|'''Flag''' | ||
|'''Comment''' | |||
|- | |||
|UNIT_DYNFLAG_NONE | |||
|0 | |||
|0x0000 | |||
| | |||
|- | |- | ||
| | |UNIT_DYNFLAG_UNK1 | ||
|1 | |1 | ||
|0x0001 | |||
|// Could be related to battle pet tracking '''UNUSED ATM''' | |||
|- | |- | ||
| | |UNIT_DYNFLAG_LOOTABLE | ||
|2 | |2 | ||
|0x0002 | |||
| | |||
|- | |- | ||
| | |UNIT_DYNFLAG_TRACK_UNIT | ||
|4 | |4 | ||
|0x0004 | |||
| | |||
|- | |- | ||
| | |UNIT_DYNFLAG_TAPPED | ||
| | |8 | ||
|0x0008 | |||
|// Lua_UnitIsTapped | |||
|- | |- | ||
| | |UNIT_DYNFLAG_TAPPED_BY_PLAYER | ||
| | |16 | ||
|0x0010 | |||
|// Lua_UnitIsTappedByPlayer | |||
|- | |- | ||
| | |UNIT_DYNFLAG_SPECIALINFO | ||
| | |32 | ||
|0x0020 | |||
| | |||
|- | |- | ||
| | |UNIT_DYNFLAG_DEAD | ||
| | |64 | ||
|0x0040 | |||
|// Makes the creature appear dead (this DOES NOT make the creature's name grey or not attack players). | |||
|- | |- | ||
| | |UNIT_DYNFLAG_REFER_A_FRIEND | ||
| | |128 | ||
|0x0080 | |||
| | |||
|- | |- | ||
| | |UNIT_DYNFLAG_TAPPED_BY_ALL_THREAT_LIST | ||
| | |256 | ||
| | |0x0100 | ||
| | |// Lua_UnitIsTappedByAllThreatList | ||
|} | |} | ||
=== | ===family=== | ||
Reference by CreatureFamily.dbc | |||
{| class="wikitable" | {| class="wikitable" | ||
!colspan="3"|Creature | !colspan="3"|Creature Family Information | ||
|- | |- | ||
|''' | |'''Family''' | ||
|''' | |'''Id''' | ||
|'''Comment''' | |'''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_TYPEFLAGS_2_UNK8 | |CREATURE_FAMILY_WATER_ELEMENTAL | ||
|0x00000080 | |49 | ||
|} | | | ||
|- | |||
===lootid=== | |CREATURE_FAMILY_FOX | ||
|50 | |||
Some infos later | | | ||
|- | |||
===pickpocketloot=== | |CREATURE_FAMILY_MONKEY | ||
|51 | |||
Some infos later | | | ||
|- | |||
===skinloot=== | |CREATURE_FAMILY_DOG | ||
|52 | |||
Some infos later | | | ||
|- | |||
===resistance1=== | |CREATURE_FAMILY_BEETLE | ||
|53 | |||
Some infos later | | | ||
|- | |||
===resistance2=== | |CREATURE_FAMILY_SHALE_SPIDER | ||
|55 | |||
Some infos later | | | ||
|- | |||
===resistance3=== | |CREATURE_FAMILY_ZOMBIE | ||
|56 | |||
Some infos later | | | ||
|- | |||
===resistance4=== | |CREATURE_FAMILY_QA_TEST_FAMILY | ||
|57 | |||
Some infos later | | | ||
|- | |||
===resistance5=== | |CREATURE_FAMILY_SILITHID_2 | ||
|59 | |||
Some infos later | | | ||
|- | |||
===resistance6=== | |CREATURE_FAMILY_WASP_2 | ||
|66 | |||
Some infos later | | | ||
|- | |||
===spell1=== | |CREATURE_FAMILY_HYDRA | ||
|68 | |||
Some infos later | | | ||
|- | |||
===spell2=== | |CREATURE_FAMILY_FEL_IMP | ||
|100 | |||
Some infos later | | | ||
|- | |||
===spell3=== | |CREATURE_FAMILY_VOIDLORD | ||
|101 | |||
Some infos later | | | ||
|- | |||
===spell4=== | |CREATURE_FAMILY_SHIVARRA | ||
|102 | |||
Some infos later | | | ||
|- | |||
===spell5=== | |CREATURE_FAMILY_OBSERVER | ||
|103 | |||
Some infos later | | | ||
|- | |||
===spell6=== | |CREATURE_FAMILY_WRATHGUARD | ||
|104 | |||
Some infos later | | | ||
|- | |||
===spell7=== | |CREATURE_FAMILY_INFERNAL | ||
|108 | |||
Some infos later | | | ||
|- | |||
===spell8=== | |CREATURE_FAMILY_FIRE_ELEMENTAL | ||
|116 | |||
Some infos later | | | ||
|- | |||
===PetSpellDataId=== | |CREATURE_FAMILY_EARTH_ELEMENTAL | ||
|117 | |||
Some infos later | | | ||
|- | |||
===VehicleId=== | |CREATURE_FAMILY_CRANE | ||
|125 | |||
Some infos later | | | ||
|- | |||
===mingold=== | |CREATURE_FAMILY_WATER_STRIDER | ||
|126 | |||
Some infos later | | | ||
|- | |||
===maxgold=== | |CREATURE_FAMILY_PORCUPINE | ||
|127 | |||
Some infos later | | | ||
|- | |||
===AIName=== | |CREATURE_FAMILY_QUILEN | ||
|128 | |||
Some infos later | | | ||
|- | |||
===MovementType=== | |CREATURE_FAMILY_GOAT | ||
|129 | |||
| | |||
|- | |||
===InhabitType=== | |CREATURE_FAMILY_BASILISK | ||
|130 | |||
Some infos later | | | ||
|- | |||
===HoverHeight=== | |CREATURE_FAMILY_DIREHORN | ||
|138 | |||
Some infos later | | | ||
|} | |||
===Health_mod=== | |||
===trainer_type=== | |||
Some infos later | {| class="wikitable" | ||
!colspan="3"|Trainer Type Information | |||
===Mana_mod=== | |- | ||
|'''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 | |||
{| class="wikitable" | |||
!colspan="2"|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=== | |||
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_548|skinning_loot_template]] 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 | |||
{| class="wikitable" | |||
!colspan="4"|Creature Type Flags Information | |||
|- | |||
|'''Type''' | |||
|colspan="2"|'''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=== | |||
{| class="wikitable" | |||
!colspan="3"|Creature TypeFlags2 Information | |||
|- | |||
|'''Type''' | |||
|colspan="2"|'''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=== | |||
{| class="wikitable" | |||
!colspan="3"|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 | Some infos later | ||
Line 1,596: | Line 2,229: | ||
===flags_extra=== | ===flags_extra=== | ||
{| class="wikitable" | {| class="wikitable" | ||
!colspan=" | !colspan="4"|Flags Extra Informations | ||
|- | |- | ||
|''' | |'''Name''' | ||
|''' | |colspan="2"|'''Flag''' | ||
|'''Comment''' | |'''Comment''' | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_INSTANCE_BIND | |CREATURE_FLAG_EXTRA_INSTANCE_BIND | ||
|1 | |||
|0x00000001 | |0x00000001 | ||
|// creature kill bind instance with killer and killer's group | |// creature kill bind instance with killer and killer's group | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_CIVILIAN | |CREATURE_FLAG_EXTRA_CIVILIAN | ||
|2 | |||
|0x00000002 | |0x00000002 | ||
|// not aggro (ignore faction/reputation hostility) | |// not aggro (ignore faction/reputation hostility) | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_PARRY | |CREATURE_FLAG_EXTRA_NO_PARRY | ||
|4 | |||
|0x00000004 | |0x00000004 | ||
|// creature can't parry | |// creature can't parry | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN | |CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN | ||
|8 | |||
|0x00000008 | |0x00000008 | ||
|// creature can't counter-attack at parry | |// creature can't counter-attack at parry | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_BLOCK | |CREATURE_FLAG_EXTRA_NO_BLOCK | ||
|16 | |||
|0x00000010 | |0x00000010 | ||
|// creature can't block | |// creature can't block | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_CRUSH | |CREATURE_FLAG_EXTRA_NO_CRUSH | ||
|32 | |||
|0x00000020 | |0x00000020 | ||
|// creature can't do crush attacks | |// creature can't do crush attacks | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_XP_AT_KILL | |CREATURE_FLAG_EXTRA_NO_XP_AT_KILL | ||
|64 | |||
|0x00000040 | |0x00000040 | ||
|// creature kill not provide XP | |// creature kill not provide XP | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_TRIGGER | |CREATURE_FLAG_EXTRA_TRIGGER | ||
|128 | |||
|0x00000080 | |0x00000080 | ||
|// trigger creature | |// trigger creature | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_TAUNT | |CREATURE_FLAG_EXTRA_NO_TAUNT | ||
|256 | |||
|0x00000100 | |0x00000100 | ||
|// creature is immune to taunt auras and effect attack me | |// creature is immune to taunt auras and effect attack me | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_WORLDEVENT | |CREATURE_FLAG_EXTRA_WORLDEVENT | ||
|512 | |||
|0x00004000 | |0x00004000 | ||
|// custom flag for world event creatures (left room for merging) | |// custom flag for world event creatures (left room for merging) | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_GUARD | |CREATURE_FLAG_EXTRA_GUARD | ||
|1024 | |||
|0x00008000 | |0x00008000 | ||
|// Creature is guard | |// Creature is guard | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_CRIT | |CREATURE_FLAG_EXTRA_NO_CRIT | ||
|2048 | |||
|0x00020000 | |0x00020000 | ||
|// creature can't do critical strikes | |// creature can't do critical strikes | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_NO_SKILLGAIN | |CREATURE_FLAG_EXTRA_NO_SKILLGAIN | ||
|4096 | |||
|0x00040000 | |0x00040000 | ||
|// creature won't increase weapon skills | |// creature won't increase weapon skills | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_TAUNT_DIMINISH | |CREATURE_FLAG_EXTRA_TAUNT_DIMINISH | ||
|8192 | |||
|0x00080000 | |0x00080000 | ||
|// Taunt is a subject to diminishing returns on this creautre | |// Taunt is a subject to diminishing returns on this creautre | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_ALL_DIMINISH | |CREATURE_FLAG_EXTRA_ALL_DIMINISH | ||
|16384 | |||
|0x00100000 | |0x00100000 | ||
|// Creature is subject to all diminishing returns as player are | |// Creature is subject to all diminishing returns as player are | ||
|- | |- | ||
|CREATURE_FLAG_EXTRA_DUNGEON_BOSS | |CREATURE_FLAG_EXTRA_DUNGEON_BOSS | ||
|32768 | |||
|0x10000000 | |0x10000000 | ||
|// creature is a dungeon boss (SET DYNAMICALLY, DO NOT ADD IN DB) | |// creature is a dungeon boss (SET DYNAMICALLY, DO NOT ADD IN DB) |
Latest revision as of 05:34, 13 August 2021
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
Controls how fast the creature can run. For vehicles: increases ground movement speed.
scale
If non-zero, this field defines the size of how the model of the creature appears ingame. If zero, it will use default model size taken from the DBC.
npc_rank
The rank of the creature:
Creature NPC Rank | |||||
---|---|---|---|---|---|
Rank | Name | Default Respawn Time spawntimesecs |
Corpse Decay Time Worldserver.conf (Corpse.Decay) |
Total Default Respawn spawntimesecs + Corpse.Decay |
Comment |
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 | |
5 | Unknown | 5 Min | Unknown | Unknown | // found in 2.2.3 for 2 mobs |
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.
Note 2: Respawn times can be modified in two other places: Creature.spawntimesecs (only for that single GUID of the creature) and in the worldserver.conf file under the "Corpse.Decay" settings (for ALL creatures of the same rank). The default `spawntimesecs` for all spawned creatures is 300 seconds (5 minutes). For example, using the ".npc add" command to spawn a "Normal" NPC will give it a default respawn time of 6 minutes (spawntimesecs + Corpse.Decay time). Also, the creature must decay first before it can respawn. For this reason, the Corpse Decay Time of the creature is also it's minimum respawn time, since setting the creature's Creature.spawntimesecs = 0 will remove the Default Respawn Time. In the example above, setting our Normal NPC's spawntimesecs = 0 will mean the creature's respawn time decreases from 6 minutes to 60 seconds.
Note 3: If you want the creature to show a skull or "??" in the portrait (often with Bosses), set the type_flags to 4.
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
Flags that control visual appearance of the creature.
A few known flags and their use are:
Unit Flag 2 Information | |||
---|---|---|---|
Name | Flag | Comment | |
UNIT_DYNFLAG_NONE | 0 | 0x0000 | |
UNIT_DYNFLAG_UNK1 | 1 | 0x0001 | // Could be related to battle pet tracking UNUSED ATM |
UNIT_DYNFLAG_LOOTABLE | 2 | 0x0002 | |
UNIT_DYNFLAG_TRACK_UNIT | 4 | 0x0004 | |
UNIT_DYNFLAG_TAPPED | 8 | 0x0008 | // Lua_UnitIsTapped |
UNIT_DYNFLAG_TAPPED_BY_PLAYER | 16 | 0x0010 | // Lua_UnitIsTappedByPlayer |
UNIT_DYNFLAG_SPECIALINFO | 32 | 0x0020 | |
UNIT_DYNFLAG_DEAD | 64 | 0x0040 | // Makes the creature appear dead (this DOES NOT make the creature's name grey or not attack players). |
UNIT_DYNFLAG_REFER_A_FRIEND | 128 | 0x0080 | |
UNIT_DYNFLAG_TAPPED_BY_ALL_THREAT_LIST | 256 | 0x0100 | // Lua_UnitIsTappedByAllThreatList |
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
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 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
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