blob: 1c4f1db6ef3035247a54f1becb9a87f3e33ca685 (
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
|
# spell\_script\_names
[<-Back-to:World](database-world.md)
**The \`spell\_script\_names\` table**
Holds the spell id to ScriptName pairings for use in spell scripts.
**Structure**
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|-----------------|----------|------------|--------|------|---------|-------|---------|
| [spell_id][1] | INT | SIGNED | UNIQUE | NO | NONE | | |
| [ScriptName][2] | char(64) | UNSIGNED | UNIQUE | NO | NONE | | |
[1]: #spell_id
[2]: #scriptname
**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).
|