summaryrefslogtreecommitdiff
path: root/docs/spell_script_names.md
diff options
context:
space:
mode:
authorFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
committerFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
commita35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch)
tree91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/spell_script_names.md
parentd8d1823802ded97300fa57405d80b16736603489 (diff)
downloadwiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip
Import DB wiki from TC 335
Diffstat (limited to 'docs/spell_script_names.md')
-rw-r--r--docs/spell_script_names.md70
1 files changed, 65 insertions, 5 deletions
diff --git a/docs/spell_script_names.md b/docs/spell_script_names.md
index 15c4636..51eddb3 100644
--- a/docs/spell_script_names.md
+++ b/docs/spell_script_names.md
@@ -1,6 +1,66 @@
-[Database Structure](Database-Structure) > [World-Database](World-Database) > [spell_script_names](spell_script_names)
+# spell\_script\_names
-Column | Type | Description
---- | --- | ---
-Spell_id | int(11) |
-ScriptName | char(64) |
+`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).