summaryrefslogtreecommitdiff
path: root/docs/creature_template_spell.md
blob: 3afc835ff89acbefbc3ba4e0b53c56755634c111 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# creature_template_spell

[<-Back-to:World](database-world.md)

**The \`creature_template_spell\` table**

**Structure**

| Field | Type | Attribute | Key | Null | Default | Extra | Comment
:--- | :--- | :--- | :--- | :--- | :--- | :--- | :---
[CreatureID][1] | MEDIUMINT | UNSIGNED | PRI | NO
[Index][2] | TINYINT | UNSIGNED | PRI | NO | 0
[Spell][3] | MEDIUMINT | UNSIGNED | | YES | Null
[VerifiedBuild][4] | SMALLINT | SIGNED | | YES | 0

[1]: #creatureid
[2]: #index
[3]: #spell
[4]: #verifiedbuild

**Description of the fields**

### CreatureID

Creature entry from [creature_template.entry](creature_template#entry).

### Index

Value must be within this range. If above or under the SQL will fail on `creature_template_spell_chk_1`.

Index 0 - 7.

Spell position on actionbar for vehicle creatures.

### Spell

Spell ID that can be used for Mind Control of a creature.

### VerifiedBuild

This field was used 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.