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.

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 ​

Spell ID to cast on first log in.  

note ​

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