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
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| racemask | int | unsigned | PRI | NO | 0 | ||
| classmask | int | unsigned | PRI | NO | 0 | ||
| Spell | int | unsigned | PRI | NO | 0 | ||
| Note | varchar(255) | YES | NULL |
Description of fields
racemask
Race mask of ChrRace IDs. 0 is all races.
| Value | Flag | Name | Value | Flag | Name | |
|---|---|---|---|---|---|---|
| 1 | 0x0001 | Human | 2 | 0x0002 | Orc | |
| 4 | 0x0004 | Dwarf | 16 | 0x0010 | Undead | |
| 8 | 0x0008 | Night Elf | 32 | 0x0020 | Tauren | |
| 64 | 0x0040 | Gnome | 128 | 0x0080 | Troll | |
| 1024 | 0x0400 | Draenei | 512 | 0x0200 | Blood Elf | |
| 1101 | 0x044D | Alliance | 690 | 0x02B2 | Horde |
classmask
Class mask of ChrClass IDs. 0 is all classes.
| Value | Flag | Name | Value | Flag | Name | |
|---|---|---|---|---|---|---|
| 1 | 0x0001 | Warrior | 32 | 0x0020 | Death Knight | |
| 2 | 0x0002 | Paladin | 64 | 0x0040 | Shaman | |
| 4 | 0x0004 | Hunter | 128 | 0x0080 | Mage | |
| 8 | 0x0008 | Rogue | 256 | 0x0100 | Warlock | |
| 16 | 0x0010 | Priest | 1024 | 0x0400 | Druid |
Spell
A Spell ID to start with.
Note
This field is for any comment you want to make. It is arbitrary text.
