summaryrefslogtreecommitdiff
path: root/docs/spell_script_names.md
blob: 51eddb302ad47adfb8f8089c4b4d79f5ef2f7d68 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# spell\_script\_names

`Back-to:World`

**The \`spell\_script\_names\` table**

Holds the spell id to ScriptName pairings for use in spell scripts.

**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="#spell_script_names-spell_id">spell_id</a></p></td>
<td><p>int(11)</p></td>
<td><p>signed</p></td>
<td><p>UNIQUE</p></td>
<td><p>NO</p></td>
<td><p>NONE</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
<tr class="odd">
<td><p><a href="#spell_script_names-ScriptName">ScriptName</a></p></td>
<td><p>char(64)</p></td>
<td><p>unsigned</p></td>
<td><p>UNIQUE</p></td>
<td><p>NO</p></td>
<td><p>NONE</p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
</tbody>
</table>

**Description of the fields**

### spell\_id

The ID of the spell to link. If it is negative and the first rank of a spell, includes all ranks of the spell specified in spell\_ranks table.

One spell can have more than one script assigned.

### ScriptName

The script name for the given spell(s).