diff options
Diffstat (limited to 'docs/creature.md')
| -rw-r--r-- | docs/creature.md | 99 |
1 files changed, 57 insertions, 42 deletions
diff --git a/docs/creature.md b/docs/creature.md index 0820ea7..ae3346a 100644 --- a/docs/creature.md +++ b/docs/creature.md @@ -9,48 +9,53 @@ Contains individual creature spawn data for each individual spawn of each indivi | Field | Type | Attributes | Key | Null | Default | Extra | Comment | |-----------------------|--------------|------------|-----|------|---------|----------------|---------------------------------------------------------------------------------------| | [guid][1] | INT | UNSIGNED | PRI | NO | NULL | Auto Increment | Global Unique Identifier | -| [id][2] | MEDIUMINT | UNSIGNED | | NO | 0 | | Creature Identifier | -| [map][3] | SMALLINT | UNSIGNED | | NO | 0 | | Map Identifier | -| [zoneId][4] | SMALLINT | UNSIGNED | | NO | 0 | | Zone Identifier | -| [areaId][5] | SMALLINT | UNSIGNED | | NO | 0 | | Area Identifier | -| [spawnMask][6] | TINYINT | UNSIGNED | | NO | 1 | | | -| [phaseMask][7] | SMALLINT | UNSIGNED | | NO | 1 | | | -| [equipment_id][8] | TINYINT | UNSIGNED | | NO | 1 | | | -| [position_x][9] | FLOAT | SIGNED | | NO | 0 | | | -| [position_y][10] | FLOAT | SIGNED | | NO | 0 | | | -| [position_z][11] | FLOAT | SIGNED | | NO | 0 | | | -| [orientation][12] | FLOAT | SIGNED | | NO | 0 | | | -| [spawntimesecs][13] | INT | UNSIGNED | | NO | 120 | | | -| [wander_distance][14] | FLOAT | SIGNED | | NO | 5 | | Dist in yards for random movement. | -| [currentwaypoint][15] | MEDIUMINT | UNSIGNED | | NO | 0 | | Storage used by core. "Always set as 0" | -| [curhealth][16] | INT | UNSIGNED | | NO | 1 | | Storage used by core. "Always set as 1" | -| [curmana][17] | INT | UNSIGNED | | NO | 0 | | Storage used by core. "Always set as 0" | -| [MovementType][18] | TINYINT | UNSIGNED | | NO | 0 | | 0 No movement, 1 random, 2 path | -| [npcflag][19] | INT | UNSIGNED | | NO | 0 | | | -| [unit_flags][20] | INT | UNSIGNED | | NO | 0 | | | -| [dynamicflags][21] | INT | UNSIGNED | | NO | 0 | | | +| [creature_id1][2] | MEDIUMINT | UNSIGNED | | NO | 0 | | Creature Identifier | +| [creature_id1][3] | MEDIUMINT | UNSIGNED | | NO | 0 | | Creature Identifier | +| [chanceid1][4] | FLOAT | UNSIGNED | | NO | 100 | | + | +| [map][5] | SMALLINT | UNSIGNED | | NO | 0 | | Map Identifier | +| [zoneId][6] | SMALLINT | UNSIGNED | | NO | 0 | | Zone Identifier | +| [areaId][7] | SMALLINT | UNSIGNED | | NO | 0 | | Area Identifier | +| [spawnMask][8] | TINYINT | UNSIGNED | | NO | 1 | | | +| [phaseMask][9] | SMALLINT | UNSIGNED | | NO | 1 | | | +| [equipment_id][10] | TINYINT | UNSIGNED | | NO | 1 | | | +| [position_x][11] | FLOAT | SIGNED | | NO | 0 | | | +| [position_y][12] | FLOAT | SIGNED | | NO | 0 | | | +| [position_z][13] | FLOAT | SIGNED | | NO | 0 | | | +| [orientation][14] | FLOAT | SIGNED | | NO | 0 | | | +| [spawntimesecs][15] | INT | UNSIGNED | | NO | 120 | | | +| [wander_distance][16] | FLOAT | SIGNED | | NO | 5 | | Dist in yards for random movement. | +| [currentwaypoint][17] | MEDIUMINT | UNSIGNED | | NO | 0 | | Storage used by core. "Always set as 0" | +| [curhealth][18] | INT | UNSIGNED | | NO | 1 | | Storage used by core. "Always set as 1" | +| [curmana][19] | INT | UNSIGNED | | NO | 0 | | Storage used by core. "Always set as 0" | +| [MovementType][20] | TINYINT | UNSIGNED | | NO | 0 | | 0 No movement, 1 random, 2 path | +| [npcflag][21] | INT | UNSIGNED | | NO | 0 | | | +| [unit_flags][22] | INT | UNSIGNED | | NO | 0 | | | +| [dynamicflags][23] | INT | UNSIGNED | | NO | 0 | | | [1]: #guid -[2]: #id -[3]: #map -[4]: #zoneId -[5]: #areaId -[6]: #spawnmask -[7]: #phasemask -[8]: #equipment_id -[9]: #position_x -[10]: #position_y -[11]: #position_z -[12]: #orientation -[13]: #spawntimesecs -[14]: #wander_distance -[15]: #currentwaypoint -[16]: #curhealth -[17]: #curmana -[18]: #movementtype -[19]: #npcflag -[20]: #unit_flags -[21]: #dynamicflags +[2]: #creatureid1 +[3]: #creatureid2 +[4]: #chanceid1 +[5]: #map +[6]: #zoneId +[7]: #areaId +[8]: #spawnmask +[9]: #phasemask +[10]: #equipment_id +[11]: #position_x +[12]: #position_y +[13]: #position_z +[14]: #orientation +[15]: #spawntimesecs +[16]: #wander_distance +[17]: #currentwaypoint +[18]: #curhealth +[19]: #curmana +[20]: #movementtype +[21]: #npcflag +[22]: #unit_flags +[23]: #dynamicflags **Field Descriptions** @@ -58,9 +63,19 @@ Contains individual creature spawn data for each individual spawn of each indivi A unique identifier given to each creature to distinguish one creature from another. Two creatures can NOT have same GUID. -### id +### creature\_id1 -The ID of the [template](creature_template#creature_template-entry) that is used when instantiating this creature. +The Main ID of the [template](creature_template#creature_template-entry) that is used when instantiating this creature. + +### creature\_id2 + +The Secondary ID of the [template](creature_template#creature_template-entry) that is used when instantiating this creature. + +### chanceid1 + +The float chance that id1 will be choosen when spawning. Must be greater that zero and less than or equal to 100. + +This field should be set to 100 if creature_id2 is 0 and normally 50 if creature_id2 has a value and you wish for equal spawn chance. ### map |
