Skip to content

playercreateinfo_cast_spell

This table holds information on spells a new character casts when he logs in for the first time. Each race-class combination can have a different set of spells to cast.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
raceMaskintunsignedNO0
classMaskintunsignedNO0
spellintunsignedNO0
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 ​

Spell ID to cast on first log in.
 

note ​

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