summaryrefslogtreecommitdiff
path: root/docs/pet_spell.md
blob: 9e348a711b66e99090647ea2a91535828088fbf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# pet\_spell

[<-Back-to:Characters](database-characters.md)

**The \`pet\_spell\` table**

This table holds information on individual pet spells.

**Structure**

| Field       | Type      | Attributes | Key | Null | Default | Extra | Comment                  |
| ----------- | --------- | ---------- | --- | ---- | ------- | ----- | ------------------------ |
| [guid][1]   | INT       | UNSIGNED   | PRI | NO   | 0       |       | Global Unique Identifier |
| [spell][2]  | MEDIUMINT | UNSIGNED   | PRI | NO   | 0       |       | Spell Identifier         |
| [active][3] | TINYINT   | UNSIGNED   |     | NO   | 0       |       |                          |

[1]: #guid
[2]: #spell
[3]: #active

**Description of the fields**

### guid

The pet GUID. See [character\_pet.id](character_pet#id).

### spell

The spell ID. See [Spell.dbc](spell) column 1.

### active

Boolean 0 or 1 controlling if the spell is active or not.