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.

ValueFlagNameValueFlagName
10x0001Human20x0002Orc
40x0004Dwarf160x0010Undead
80x0008Night Elf320x0020Tauren
640x0040Gnome1280x0080Troll
10240x0400Draenei5120x0200Blood Elf
11010x044DAlliance6900x02B2Horde

 

classmask ​

Class mask of ChrClass IDs. 0 is all classes.

ValueFlagNameValueFlagName
10x0001Warrior320x0020Death Knight
20x0002Paladin640x0040Shaman
40x0004Hunter1280x0080Mage
80x0008Rogue2560x0100Warlock
160x0010Priest10240x0400Druid

 

Spell ​

A Spell ID to start with.
 

Note ​

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