playercreateinfo_action
This table holds information on what default actions a brand new character should start out with. Each race-class combination can have a different default starting setup.
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|---|---|---|---|---|---|---|---|
| race | tinyint | unsigned | PRI | NO | 0 | ||
| class | tinyint | unsigned | PRI | NO | 0 | ||
| button | smallint | unsigned | PRI | NO | 0 | ||
| action | int | unsigned | NO | 0 | |||
| type | smallint | unsigned | NO | 0 | |||
Description of fields
race
The character's ChrRace ID
| ID | Name |
|---|---|
| 1 | Human |
| 2 | Orc |
| 3 | Dwarf |
| 4 | Night Elf |
| 5 | Undead |
| 6 | Tauren |
| 7 | Gnome |
| 8 | Troll |
| 10 | Blood Elf |
| 11 | Draenei |
class
The character's ChrClass ID
| ID | Name |
|---|---|
| 1 | Warrior |
| 2 | Paladin |
| 3 | Hunter |
| 4 | Rogue |
| 5 | Priest |
| 6 | Death Knight |
| 7 | Shaman |
| 8 | Mage |
| 9 | Warlock |
| 11 | Druid |
button
The ID of the slot on the action bar where the action icon will be placed. Special bars are used for stances, auras, pets, stealth, and other similar special modes.
| Button IDs | Set (key) | Comment |
|---|---|---|
| 0-11 | 1 (SHIFT + 1) | |
| 12-23 | 2 (SHIFT + 2) | |
| 24-35 | 3 (SHIFT + 3) | Right Side Bar |
| 36-47 | 4 (SHIFT + 4) | Right Side Bar 2 |
| 48-59 | 5 (SHIFT + 5) | Bottom Right Bar |
| 60-71 | 6 (SHIFT + 6) | Bottom Left Bar |
| 72-83 | 1 SpecialA | |
| 84-95 | 1 SpecialB | |
| 96-107 | 1 SpecialC | |
| 108-119 | 1 SpecialD | |
action
Depending on the type value:
- type = 0: Spell ID
- type = 128: item entry (yes item prototype, not item instance)
- type = 64: macro id
type
The type of action:
- 0: Spell
- 64: Macro
- 128: Item
