/
spell_required

spell_required

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.

Related content

spell_proc
spell_proc
Read with this
spell_dbc
spell_dbc
Read with this
spell_learn_spell
spell_learn_spell
Read with this
spell_ranks
spell_ranks
Read with this
Spell system
Spell system
Read with this
creature_template (master)
creature_template (master)
Read with this