From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/spell_script_names.md | 70 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 5 deletions(-) (limited to 'docs/spell_script_names.md') 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** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

spell_id

int(11)

signed

UNIQUE

NO

NONE

 

 

ScriptName

char(64)

unsigned

UNIQUE

NO

NONE

 

 

+ +**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). -- cgit