Skip to content
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/database-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@
- [player_factionchange_titles](player_factionchange_titles)
- [player_loot_template](loot_template)
- [player_race_stats](player_race_stats)
- [player_shapeshift_model](player_shapeshift_model)
- [player_totem_model](player_totem_model)
- [player_xp_for_level](player_xp_for_level)
- [playercreateinfo](playercreateinfo)
- [playercreateinfo_action](playercreateinfo_action)
Expand Down
58 changes: 58 additions & 0 deletions docs/player_shapeshift_model.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# player_shapeshift_model

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

**The \`player_shapeshift_model\` table**

This table holds the information on what values are used for the druid shapeshift models, based on the shapeshift, race, character customization, and the gender of the player character.

**Table Structure**

| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ---------------------------------- | ------- | ---------- | --- | ---- | ------- | ----- | ------- |
| [ShapeshiftID](#shapeshiftid) | TINYINT | UNSIGNED | PRI | NO | | | |
| [RaceID](#raceid) | TINYINT | UNSIGNED | PRI | NO | | | |
| [CustomizationID](#customizationid) | TINYINT | UNSIGNED | PRI | NO | | | |
| [GenderID](#genderid) | TINYINT | UNSIGNED | PRI | NO | | | |
| [ModelID](#modelid) | INT | UNSIGNED | | NO | | | |

**Description of the fields**

### ShapeshiftID

| FormID | Description |
| :----: | :--------------: |
| 1 | Cat Form |
| 5 | Bear Form |
| 8 | Dire Bear Form |
| 27 | Epic Flight Form |
| 29 | Flight Form |

### RaceID

| RaceID | Description |
| :----: | :---------: |
| 4 | Night Elf |
| 6 | Tauren |

You also may refer to [chrraces](chrraces) "ID" column.

### CustomizationID

If you're an Alliance character (only Night Elves with stock races), the customization ID is based off of [haircolor](characters#haircolor) of your character.

If you're a Horde character (only Tauren with stock races), the customization ID is based off of [skin colour](characters#skin) of your character.

### GenderID

| [GenderID](characters#gender) | Description |
| :---------------------------: | :---------: |
| 0 | Male |
| 1 | Female |
| 2 | Any gender |

### ModelID

Refer to [creature_model_info](#creature_model_info#displayid)


42 changes: 42 additions & 0 deletions docs/player_totem_model.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# player_totem_model

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

**The \`player_totem_model\` table**

This table holds the information on what values are used for the shaman totem models, based on the totem and race of the player character.

**Table Structure**

| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| ------------------- | ------- | ---------- | --- | ---- | ------- | ----- | ------- |
| [TotemID](#totemid) | TINYINT | UNSIGNED | PRI | NO | | | |
| [RaceID](#raceid) | TINYINT | UNSIGNED | PRI | NO | | | |
| [ModelID](#modelid) | INT | UNSIGNED | | NO | | | |

**Description of the fields**

### TotemID

| TotemID | Description |
| :-----: | :---------: |
| 1 | Fire Totem |
| 2 | Earth Totem |
| 3 | Water Totem |
| 4 | Air Totem |

### RaceID

| RaceID | Description |
| :----: | :---------: |
| 2 | Orc |
| 3 | Dwarf |
| 6 | Tauren |
| 8 | Troll |
| 11 | Draenei |

You also may refer to [chrraces](chrraces) "ID" column.

### ModelID

Refer to [creature_model_info](#creature_model_info#displayid)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong, this probably refers to the modelid from dbc