Skip to content

playercreateinfo_spell_custom

This table holds information on what spells newly created characters should start out with if the PlayerStart.AllSpells setting in enabled in TrinityCore.conf. A character in this table is defined by his/her race and class combination.

Please note you'll have to set PlayerStart.AllSpells = 1 in config, else this table will not have any effect.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
racemaskintunsignedPRINO0
classmaskintunsignedPRINO0
SpellintunsignedPRINO0
Notevarchar(255)YESNULL
 

Description of fields ​

racemask ​

Race mask of ChrRace IDs. 0 is all races.

ValueFlagName
10x0001Human
20x0002Orc
40x0004Dwarf
80x0008Night Elf
160x0010Undead
320x0020Tauren
640x0040Gnome
1280x0080Troll
5120x0200Blood Elf
10240x0400Draenei

 

classmask ​

Class mask of ChrClass IDs. 0 is all classes.

ValueFlagName
10x0001Warrior
20x0002Paladin
40x0004Hunter
80x0008Rogue
160x0010Priest
320x0020Death Knight
640x0040Shaman
1280x0080Mage
2560x0100Warlock
10240x0400Druid

 

Spell ​

A Spell ID to start with.  

Note ​

This field is for any comment you want to make. It is arbitrary text.