summaryrefslogtreecommitdiff
path: root/docs/playercreateinfo_spell_custom.md
blob: 093447d80b86baf5800ed0dbe47471ebe4f8951d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# playercreateinfo\_spell\_custom

[<-Back-to:World](database-world.md)

This table holds information on what spells newly created characters should start out with if the PlayerStart.AllSpells setting in enabled in worldserver.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 |
|----------------|--------------|------------|-----|------|---------|-------|---------|
| [racemask][1]  | INT      | UNSIGNED   | PRI | NO   | 0       |       |         |
| [classmask][2] | INT      | UNSIGNED   | PRI | NO   | 0       |       |         |
| [Spell][3]     | MEDIUMINT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [Note][4]      | VARCHAR(255) | SIGNED     |     | YES  | NULL    |       |         |

[1]: #racemask
[2]: #classmask
[3]: #spell
[4]: #note

## Description of the fields

### racemask

One or more character's race. See [ChrRaces.dbc](ChrRaces).

### classmask

One or more character's class. See [ChrClasses.dbc](ChrClasses)

### Spell

Spell id. See [Spell.dbc](Spell)

### Note

Basically a comment of what your query does.