diff options
Diffstat (limited to 'docs/creature_addon.md')
| -rw-r--r-- | docs/creature_addon.md | 217 |
1 files changed, 42 insertions, 175 deletions
diff --git a/docs/creature_addon.md b/docs/creature_addon.md index 7cbd38e..3e4b707 100644 --- a/docs/creature_addon.md +++ b/docs/creature_addon.md @@ -12,163 +12,31 @@ NOTICE: The data for this table is largely incomplete and is mostly just a regur **Structure** -<table> -<tbody> -<tr class="odd"> -<td><p><strong>Field</strong></p></td> -<td><p><strong>Type</strong></p></td> -<td><p><strong>Attributes</strong></p></td> -<td><p><strong>Key</strong></p></td> -<td><p><strong>Null</strong></p></td> -<td><p><strong>Default</strong></p></td> -<td><p><strong>Extra</strong></p></td> -<td><p><strong>Comment</strong></p></td> -</tr> -<tr class="even"> -<td><p><a href="#guid/entry">guid/entry</a></p></td> -<td><p>int(10)/medumint(8)</p></td> -<td><p>unsigned</p></td> -<td><p>PRI</p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -<tr class="odd"> -<td><p><a href="#path_id">path_id</a></p></td> -<td><p>int(11)</p></td> -<td><p>unsigned</p></td> -<td><p><br /> -</p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -<tr class="even"> -<td><p><a href="#mount">mount</a></p></td> -<td><p>mediumint(8)</p></td> -<td><p>unsigned</p></td> -<td><p><br /> -</p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -<tr class="odd"> -<td><p><a href="#bytes1">bytes1</a></p></td> -<td><p>int(10)</p></td> -<td><p>unsigned</p></td> -<td><p><br /> -</p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -<tr class="even"> -<td><p><a href="#bytes2">bytes2</a></p></td> -<td><p>int(10)</p></td> -<td><p>unsigned</p></td> -<td><p><br /> -</p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -<tr class="odd"> -<td><p><a href="#emote">emote</a></p></td> -<td><p>int(10)</p></td> -<td><p>unsigned</p></td> -<td><p><br /> -</p></td> -<td><p>NO</p></td> -<td><p>0</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -<tr class="even"> -<td><a href="#aianimkit/movementanimkit/meleeanimkit">aiAnimKit</a></td> -<td>smallint(6)</td> -<td>signed</td> -<td><br /> -</td> -<td>NO</td> -<td>0</td> -<td><br /> -</td> -<td><br /> -</td> -</tr> -<tr class="odd"> -<td><a href="#aianimkit/movementanimkit/meleeanimkit">movementAnimKit</a></td> -<td>smallint(6)</td> -<td>signed</td> -<td><br /> -</td> -<td>NO</td> -<td>0</td> -<td><br /> -</td> -<td><br /> -</td> -</tr> -<tr class="even"> -<td><a href="#aianimkit/movementanimkit/meleeanimkit">meleeAnimKit</a></td> -<td>smallint(6)</td> -<td>signed</td> -<td><br /> -</td> -<td>NO</td> -<td>0</td> -<td><br /> -</td> -<td><br /> -</td> -</tr> -<tr class="odd"> -<td><a href="#isLarge">isLarge</a></td> -<td>tinyint(1)</td> -<td>unsigned</td> -<td><br /> -</td> -<td>NO</td> -<td>0</td> -<td><br /> -</td> -<td><br /> -</td> -</tr> -<tr class="even"> -<td><p><a href="#auras">auras</a></p></td> -<td><p>text</p></td> -<td><p>unsigned</p></td> -<td><p><br /> -</p></td> -<td><p>YES</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -<td><p><br /> -</p></td> -</tr> -</tbody> -</table> +| Field | Type | Attributes | Key | Null | Default | Extra | Comment | +|----------------------|---------------------|------------|-----|------|---------|-------|---------| +| [guid/entry][1] | int(10)/medumint(8) | unsigned | PRI | NO | | | | +| [path_id][2] | int(11) | unsigned | | NO | | | | +| [mount][3] | mediumint(8) | unsigned | | NO | | | | +| [bytes1][4] | int(10) | unsigned | | NO | | | | +| [bytes2][5] | int(10) | unsigned | | NO | | | | +| [emote][6] | int(10) | unsigned | | NO | | | | +| [aiAnimKit][7] | smallint(6) | signed | | NO | | | | +| [movementAnimKit][8] | smallint(6) | signed | | NO | | | | +| [meleeAnimKit][9] | smallint(6) | signed | | NO | | | | +| [isLarge][10] | tinyint(1) | unsigned | | NO | | | | +| [auras][11] | text | | | YES | | | | + +[1]: #guid/entry +[2]: #path_id +[3]: #mount +[4]: #bytes1 +[5]: #bytes2 +[6]: #emote +[7]: #aianimkit +[8]: #movementanimkit +[9]: #meleeanimkit +[10]: #islarge +[11]: #auras **Description of the fields** @@ -191,17 +59,17 @@ The value here overrides the value for the creature's unit field UNIT\_FIELD\_BY List of known values and what their visual effects on the creature -- 1 = Sitting -- 2 = Sit chair -- 3 = Sleep -- 4 = Sit low chair -- 5 = Sit medium chair -- 6 = Sit high chair -- 7 = Shows health bar as empty (combine with the state dead emote to make a creature look dead) -- 8 = Makes the mob kneel -- 9 = Submerges the creature below the ground -- 54432 = Hover mode -- 50331648 = Hover mode 2 +- 1 = Sitting +- 2 = Sit chair +- 3 = Sleep +- 4 = Sit low chair +- 5 = Sit medium chair +- 6 = Sit high chair +- 7 = Shows health bar as empty (combine with the state dead emote to make a creature look dead) +- 8 = Makes the mob kneel +- 9 = Submerges the creature below the ground +- 54432 = Hover mode +- 50331648 = Hover mode 2 ### bytes2 @@ -211,9 +79,9 @@ NOTE: //creatures always have melee weapon ready if any unless specified otherwi List of few known values and what their visual effects on the creature -- 0 = STATE\_UNARMED (not prepared weapon, weapons on the sides/back) -- 1 = STATE\_MELEE (prepared melee weapon in hands) -- 2 = STATE\_RANGED (prepared ranged weapon in hands, melee weapons on the sides) +- 0 = STATE\_UNARMED (not prepared weapon, weapons on the sides/back) +- 1 = STATE\_MELEE (prepared melee weapon in hands) +- 2 = STATE\_RANGED (prepared ranged weapon in hands, melee weapons on the sides) ### emote @@ -239,7 +107,6 @@ This field controls any auras to be applied on the creature (both in effect and List of useful aura entries (examples): -- '16380' - Makes the creature invisible. -- '18950' - Makes the creature detect other invisible units (players or creatures). -- '16380 18950' - Both auras above - +- '16380' - Makes the creature invisible. +- '18950' - Makes the creature detect other invisible units (players or creatures). +- '16380 18950' - Both auras above |
