playercreateinfo_spell_custom table
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 to 1 in config, else this table will not have any effect.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
int(10) | unsigned | PRI | NO | 0 |
|
| |
int(10) | unsigned | PRI | NO | 0 |
|
| |
mediumint(8) | unsigned | PRI | NO | 0 |
|
| |
varchar(255) | signed |
| YES | NULL |
|
|
Description of the fields
racemask
The character's race.
:ChrRaces.dbc_tc2
Class | Mask Value |
---|---|
Warrior | 1 |
Paladin | 2 |
Hunter | 4 |
Rogue | 8 |
Priest | 16 |
Death Knight | 32 |
Shaman | 64 |
Mage | 128 |
Warlock | 256 |
Druid | 1024 |
classmask
The character's class.
:ChrClasses.dbc_tc2
Spell
Spell id. See Spell.dbc
Note
Basically a comment of what your query does.