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_required.md | 66 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 61 insertions(+), 5 deletions(-) (limited to 'docs/spell_required.md') diff --git a/docs/spell_required.md b/docs/spell_required.md index 016d4a2..9e1cfbe 100644 --- a/docs/spell_required.md +++ b/docs/spell_required.md @@ -1,6 +1,62 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [spell_required](spell_required) +# spell\_required -Column | Type | Description ---- | --- | --- -Spell_id | mediumint(8) | -Req_spell | mediumint(8) | +`Back-to:World` + +**The \`spell\_required\` table** + +Table used to add restrictions for learning spells from trainer. Player can't learn spell 'spell\_id' till he learns 'req\_spell', when he loses 'req\_spell' 'spell\_id' will be lost too. Table is used also for profession specialisations as specialisations require profession of certain rank to learn. + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

spell_id

mediumint(9)

signed

PRI

NO

0

 

 

req_spell

mediumint(9)

signed

PRI

NO

0

 

 

+ +**Description of the fields** + +### spell\_id + +Spell ID from Spell.dbc, which require knowing \`req\_spell\` to learn from trainer. + +### req\_spell + +Spell ID from Spell.dbc, which is required to be known before \`spell\_id\` can be learned from trainer. -- cgit