TrinityCore : playercreateinfo_spell

Back-to:World

The `playercreateinfo_spell` table

This table holds information on what spells newly created characters should start out with. A character in this table is defined by his/her race and class combination.

Structure

Field

Type

Attributes

Key

Null

Default

Extra

Comment

racemask

int(10)

unsigned

PRI

NO

0

 

 

classmask

int(10)

unsigned

PRI

NO

0

 

 

Spell

mediumint(8)

unsigned

PRI

NO

0

 

 

Note

varchar(255)

signed

 

YES

NULL

 

 

Description of the fields

racemask

A bitmask corresponding to races that should get the spell. See here. A mask of zero will grant the spell to every race.

classmask

A bitmask corresponding to classes that should get the spell. See here. A mask of zero will grand the spell to every class of the provided race.

Spell

The spell ID. See Spell.dbc

Note

A note explaining what the spell is. This is only for reference purposes and not used by trinity.