Playercreateinfo item tc2
From TrinityCore Wiki
|
Back to world database list of tables.
The `playercreateinfo_item` table
This table is used for any custom items that you might want to give to characters on creation. I used to be used to hold the normal items that characters get as well, but now that info is read from CharStartOutfit.dbc
Structure
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| race | tinyint(3) | unsigned | NO | 0 | |||
| class | tinyint(3) | unsigned | NO | 0 | |||
| itemid | mediumint(8) | unsigned | NO | 0 | |||
| amount | tinyint(3) | signed | NO | 1 |
Description of the fields
race
The character's race.
| Value | ID }} | Name |
| 1 | 1 }} | Human |
| 2 | 2 }} | Orc |
| 4 | 3 }} | Dwarf |
| 8 | 4 }} | Night Elf |
| 16 | 5 }} | Undead |
| 32 | 6 }} | Tauren |
| 64 | 7 }} | Gnome |
| 128 | 8 }} | Troll |
| 512 | 10 }} | Blood Elf |
| 1024 | 11 }} | Draenei |
class
The character's class.
| Value | ID }} | Name |
| 1 | 1 }} | Warrior |
| 2 | 2 }} | Paladin |
| 4 | 3 }} | Hunter |
| 8 | 4 }} | Rogue |
| 16 | 5 }} | Priest |
| 32 | 6 }} | Death Knight |
| 64 | 7 }} | Shaman |
| 128 | 8 }} | Mage |
| 256 | 9 }} | Warlock |
| 1024 | 11 }} | Druid |
itemid
The template ID of the item. See item_template.entry
amount
The number of copies of that item.