diff --git a/docs/database-world.md b/docs/database-world.md index e5655079..4f536336 100644 --- a/docs/database-world.md +++ b/docs/database-world.md @@ -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) diff --git a/docs/player_shapeshift_model.md b/docs/player_shapeshift_model.md new file mode 100644 index 00000000..f46d6e8d --- /dev/null +++ b/docs/player_shapeshift_model.md @@ -0,0 +1,56 @@ +# 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 | + +For `RaceID` you can refer to the [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) diff --git a/docs/player_totem_model.md b/docs/player_totem_model.md new file mode 100644 index 00000000..296fe74d --- /dev/null +++ b/docs/player_totem_model.md @@ -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 | + +For `RaceID` you can refer to the [chrraces](chrraces) "ID" column. + +### ModelID + +Refer to [creature_model_info](#creature_model_info#displayid)