summaryrefslogtreecommitdiff
path: root/docs/chrclasses.md
diff options
context:
space:
mode:
authorBenjamin Jackson <38561765+benjymansy123@users.noreply.github.com>2022-05-08 17:04:31 -0400
committerGitHub <noreply@github.com>2022-05-08 23:04:31 +0200
commit1c06616fece11c8e7d3fadc0560efcc61b8637d9 (patch)
tree7ca44da50d500f387dab694d2b1a65dbb6fd7a03 /docs/chrclasses.md
parent599e9ca3831ce4d0292aadf76aaeec657debfdc4 (diff)
downloadwiki-1c06616fece11c8e7d3fadc0560efcc61b8637d9.tar.gz
wiki-1c06616fece11c8e7d3fadc0560efcc61b8637d9.tar.bz2
wiki-1c06616fece11c8e7d3fadc0560efcc61b8637d9.zip
chore: Update chrraces.md and chrclasses.md (#710)
* Update chrraces.md Includes more info on fields and removes info that doesn't pertain to 3.3.5a. * Add flags * Align Field/Type/Notes more in line with wowdev.wiki. * Update chrclasses.md * Add snazzy links * Break snazzy link * Feex capitalization * Fix spacing
Diffstat (limited to 'docs/chrclasses.md')
-rw-r--r--docs/chrclasses.md71
1 files changed, 53 insertions, 18 deletions
diff --git a/docs/chrclasses.md b/docs/chrclasses.md
index c095baa..2762913 100644
--- a/docs/chrclasses.md
+++ b/docs/chrclasses.md
@@ -6,21 +6,23 @@ This DBC contains all possible player classes.
### Structure
-| Column | Name | Type | Notes |
-|--------|-------------------|---------|--------------------------------------------|
-| 1 | ClassID | Integer | |
-| 2 | Unk1 | | Unused |
-| 3-4 | Unk2 | | Unused |
-| 5-20 | Name | String | Unused |
-| 21 | | String | Unused |
-| 22-36 | nameFemale | String | Unused, if different from base (male) case |
-| 37 | | String | Unused |
-| 38-53 | nameNeutralGender | String | Unused, if different from base (male) case |
-| 54 | | | Unused |
-| 56 | spellfamily | Integer | |
-| 57 | | | Unused |
-| 58 | CinematicSequence | Integer | Id from CinematicSequence.dbc |
-| 59 | expansion | Integer | |
+| Column | Name | Type | Notes |
+|--------|----------------------------------------------|---------|----------------------------------------------------------------------------------------------|
+| 1 | ID | Integer | |
+| 2 | Unknown | Integer | 1 for Hunter, Rogue, and Shaman, 9 for Death Knight, 0 for the others. Removed in Cataclysm. |
+| 3 | PowerType | Integer | 0 = Mana, 1 = Rage, 2 = Focus, 3 = Energy, 4 = Happiness, 6 = Runes. 2 and 4 unused. |
+| 4 | m_petNameToken | String | Pet type. 101 for Warlock's demons, 1 for the other pets. |
+| 5-20 | Name | Loc | A name to display. |
+| 21 | NameLangMask | Integer | String flags, unused. |
+| 22-37 | Name_female | Loc | If different from base case, otherwise unused. |
+| 38 | NameFemaleLangMask | Integer | String flags, unused. |
+| 39-54 | Name_male | Loc | If different from base case, otherwise unused. |
+| 55 | NameMaleLangMask | Integer | String flags, unused. |
+| 56 | fileName | String | Capitalized English name. |
+| 57 | [spellClassSet](#spellclassset) | Integer | |
+| 58 | [Flags](#flags) | Integer | Unused |
+| 59 | Camera | iRefID | Used for the opening cinematic. 165 for Death Knight, 0 for the others. |
+| 60 | required_expansion | Integer | 0 = Classic, 1 = Burning Crusade, 3 = Wrath. |
### Content
@@ -31,13 +33,46 @@ This DBC contains all possible player classes.
| 3 | 4 | Hunter |
| 4 | 8 | Rogue |
| 5 | 16 | Priest |
-| 6 | 32 | Death Knight (3.x) |
+| 6 | 32 | Death Knight |
| 7 | 64 | Shaman |
| 8 | 128 | Mage |
| 9 | 256 | Warlock |
-| 10 | 512 | Monk (5.x) |
| 11 | 1024 | Druid |
-| 12 | 2048 | Demon Hunter (7.x) |
+
+### Flags
+
+| Flag | Description |
+|------|-----------------------------|
+| 1 | Use loincloth |
+| 2 | Player class |
+| 4 | Display pet |
+| 8 | Unused |
+| 16 | Can wear mail |
+| 32 | Can wear scaling-stat plate |
+| 64 | Bind starting area |
+
+### spellClassSet
+
+| ID | Family | Notes |
+|----|--------------|-----------------------------|
+| 0 | Generic | |
+| 1 | Unk1 | Events, holidays |
+| 2 | Unused | |
+| 3 | Mage | |
+| 4 | Warrior | |
+| 5 | Warlock | |
+| 6 | Priest | |
+| 7 | Druid | |
+| 8 | Rogue | |
+| 9 | Hunter | |
+| 10 | Paladin | |
+| 11 | Shaman | |
+| 12 | Unk2 | Spells (Silence resistance) |
+| 13 | Potion | |
+| 14 | Unused | |
+| 15 | Death Knight | |
+| 16 | Unused | |
+| 17 | Pet | |
### Description of the fields