diff options
Diffstat (limited to 'docs/pet_spell.md')
| -rw-r--r-- | docs/pet_spell.md | 83 |
1 files changed, 77 insertions, 6 deletions
diff --git a/docs/pet_spell.md b/docs/pet_spell.md index 2c9c1ff..b6e5ffe 100644 --- a/docs/pet_spell.md +++ b/docs/pet_spell.md @@ -1,7 +1,78 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [pet_spell](pet_spell) +# pet\_spell -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -Spell | mediumint(8) unsigned | -Active | tinyint(3) unsigned | +`Back-to:Characters` + +**The \`pet\_spell\` table** + +This table holds information on individual pet spells. + +**Structure** + +<table> +<colgroup> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +</colgroup> +<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="#pet_spell-guid">guid</a></p></td> +<td><p>int(10)</p></td> +<td><p>unsigned</p></td> +<td><p>PRI</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p> </p></td> +<td><p>Global Unique Identifier</p></td> +</tr> +<tr class="odd"> +<td><p><a href="#pet_spell-spell">spell</a></p></td> +<td><p>mediumint(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> </p></td> +<td><p>Spell Identifier</p></td> +</tr> +<tr class="even"> +<td><p><a href="#pet_spell-active">active</a></p></td> +<td><p>tinyint(3)</p></td> +<td><p>unsigned</p></td> +<td><p> </p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p> </p></td> +<td><p> </p></td> +</tr> +</tbody> +</table> + +**Description of the fields** + +### guid + +The pet GUID. See character\_pet.id + +### spell + +The spell ID. See Spell.dbc column 1 + +### active + +Boolean 0 or 1 controlling if the spell is active or not. |
