Back to 'conditions' Return to world Go to 'creature_addon'
Contains individual creature spawn data. Spawn of a creature is an instance of the creature object in the world.
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
guid | int | unsigned | PRI | NO | auto_increment | Global Unique Identifier | |
id | int | unsigned | MUL | NO | 0 | Creature Identifier | |
map | smallint | unsigned | MUL | NO | 0 | Map Identifier | |
zoneId | smallint | unsigned | NO | 0 | Zone Identifier | ||
areaId | smallint | unsigned | NO | 0 | Area Identifier | ||
spawnMask | tinyint | unsigned | NO | 1 | |||
phaseMask | int | unsigned | NO | 1 | |||
modelid | int | unsigned | NO | 0 | |||
equipment_id | tinyint | signed | NO | 0 | |||
position_x | float | NO | 0 | ||||
position_y | float | NO | 0 | ||||
position_z | float | NO | 0 | ||||
orientation | float | NO | 0 | ||||
spawntimesecs | int | unsigned | NO | 120 | |||
wander_distance | float | NO | 0 | ||||
currentwaypoint | int | unsigned | NO | 0 | |||
curhealth | int | unsigned | NO | 1 | |||
curmana | int | unsigned | NO | 0 | |||
MovementType | tinyint | unsigned | NO | 0 | |||
npcflag | int | unsigned | NO | 0 | |||
unit_flags | int | unsigned | NO | 0 | |||
dynamicflags | int | unsigned | NO | 0 | |||
ScriptName | char(64) | YES | '' | ||||
StringId | varchar(64) | YES | NULL | ||||
VerifiedBuild | int | signed | YES | 0 |
A unique identifier given to each creature to distinguish one creature from another.
Two creatures can NOT have same GUID.
The entry of the template that is used when instantiating this creature.
The Map ID of the position of the creature.
calculated by the core if Calculate.Creature.Zone.Area.Data
is enabled
calculated by the core if Calculate.Creature.Zone.Area.Data
is enabled
Controls under which difficulties the creature is spawned.
Value | Comment |
---|---|
0x00 | Not spawned |
0x01 | Spawned only in 10-man-normal versions of map (includes maps without a heroic mode) |
0x02 | Spawned only in 25-man-normal versions of map (or heroics pre 3.2) |
0x04 | Spawned only in 10-man-heroic versions of map |
0x08 | Spawned only in 25-man-heroic versions of map |
0x0F | Spawned in all versions of map |
This is a bitmask field that describes all the phases that a creature will appear in.
SPELL_AURA_PHASE (261) determines the phase you can see. For example, if you had this aura, you would be able to see creatures in phase 2. If you wanted the creature to be visible in both phase 1 and phase 2, you would set the phaseMask to 3.
The model ID associated with this creature. Note that two creatures that use the same template can have different models. See creature_model_info for more information on model-specific characteristics.
Note: This can be left at 0 and a random model from its assigned models in creature_template will be assigned by the core.
The ID as defined within creature_equip_template corresponding to the CreatureID.
The X position of the creature.
The Y position of the creature.
The Z position of the creature.
The orientation of the creature. (North = 0.0; South = pi (3.14159))
The respawn time of the creature in seconds.
The maximum distance that the creature should spawn from its spawn point. Also controls how far away the creature can walk from its spawn point if its MovementType = 1.
The current waypoint number that the creature is on, if any. (see waypoint_data.point)
The current health that the creature has.
This column is used only if RegenHealth is disabled.
The current mana that the creature has.
The movement type associated with this creature. Usually the same as creature_template.MovementType but can be different.
Note: A creature.MovementType record will override a creature_template.MovementType record.
Same as creature_template.npcflag
Note: A creature.npcflag record will override a creature_template.npcflag record.
Same as creature_template.unit_flags
Note: A creature.unit_flags record will override a creature_template.unit_flags record.
Same as creature_template.dynamicflags
Note: A creature.dynamicflags record will override a creature_template.dynamicflags record.
The ScriptName for when scripting it in the core.
This might also be 'SmartTrigger'. It will than use SmartAI.
- no description -
This field is used by the TrinityDB Team to determine whether a template has been verified from WDB files.
If value is 0 then it has not been parsed yet.
If value is above 0 then it has been parsed with WDB files from that specific client build.
If value is -1 then it is just a place holder until proper data are found on WDBs.
If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.