Skip to content

spell_learn_spell

This table holds information on spells that should be learned at the same time a player learns another spell. For example the few spells that are automatically learned when a player first learns a new profession. All fields in this table use Spell IDs.

Note: Spells with spell effects SPELL_EFFECT_LEARN_SPELL should NOT be included in this table.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
entryintunsignedPRINO0
SpellIDintunsignedPRINO0
ActivetinyintunsignedNO1
 

Description of fields ​

entry ​

The entry of the spell that the player learns, either from a trainer or from anywhere else (.learn command for example).  

SpellID ​

The entry of the spell that will be automatically learned by the player when the player learns the spell specified in entry.  

Active ​

Defines whether spell is shown in spell book or not.