DB/ChrClasses: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
|0||ID||Integer
|0||ID||Integer
|-
|-
|1||Unknown||Integer||Hunter,Shaman and Rogue got 1, Deathknight 9; others 0
|1||Unknown||Integer||Hunter,Shaman and Rogue got 1, Deathknight 9; others 0 -- seems to be removed in cataclysm.
|-
|-
|2||PowerType||Integer||0 = Mana, 1 = Rage, 2 = Focus, 3 = Energy, 4 = Happiness, 6 = Runes   
|2||PowerType||Integer||0 = Mana, 1 = Rage, 2 = Focus, 3 = Energy, 4 = Happiness, 6 = Runes   
|-
|-
|3||Pet||String||Pet type. Warlock is 101 (DEMON) while all other classes are 1 (PET).
|3||DisplayPower||String||Pet type. Warlock is 101 (DEMON) while all other classes are 1 (PET).
|-
|-
|4-19||Name_male||[[Loc]]||
|4-19||Name||[[Loc]]||
|-
|-
|21-36||Name_female||[[Loc]]||
|21-36||Name_female||[[Loc]]||
|-
|-
|38-53||Name_neutral||[[Loc]]||
|38-53||Name_male||[[Loc]]||
|-
|-
|55||internalName||String||in CAPS, english
|55||fileName||String||in CAPS, english
|-
|-
|56||ID2 ?||Integer||''This Identifier is most frequently called from other .dbc files. (?)''
|56||spellClassSet||Integer||
|-
|-
|57||Flags||Integer||See below.
|57||Flags||Integer||See below.
Line 36: Line 36:
|58||[[CinematicSequences.dbc|Camera]] || iRefID || Used for the opening cinematic. Only Deathknight has 165, others got 0
|58||[[CinematicSequences.dbc|Camera]] || iRefID || Used for the opening cinematic. Only Deathknight has 165, others got 0
|-
|-
|59||Addon||Integer||0=WoW, 1=TBC, 2=Wotlk
|59||required_expansion||Integer||0=WoW, 1=TBC, 2=Wotlk
|-
|-
|}
|}
===additional fields with cataclysm===
    m_attackPowerPerStrength; // +0x2C, size 0x4, type 0
    m_attackPowerPerAgility; // +0x30, size 0x4, type 0
    m_rangedAttackPowerPerAgility; // +0x34, size 0x4, type 0
===Flags===
===Flags===
  0b00100000 - Can wear plate  
  0b00100000 - Can wear plate  

Revision as of 18:26, 16 April 2011

Header Info

Records....................10
Fields.....................60
Record Size...............240
String Block Size.........160

9183

Column Field Type Notes
0 ID Integer
1 Unknown Integer Hunter,Shaman and Rogue got 1, Deathknight 9; others 0 -- seems to be removed in cataclysm.
2 PowerType Integer 0 = Mana, 1 = Rage, 2 = Focus, 3 = Energy, 4 = Happiness, 6 = Runes
3 DisplayPower String Pet type. Warlock is 101 (DEMON) while all other classes are 1 (PET).
4-19 Name Loc
21-36 Name_female Loc
38-53 Name_male Loc
55 fileName String in CAPS, english
56 spellClassSet Integer
57 Flags Integer See below.
58 Camera iRefID Used for the opening cinematic. Only Deathknight has 165, others got 0
59 required_expansion Integer 0=WoW, 1=TBC, 2=Wotlk

additional fields with cataclysm

   m_attackPowerPerStrength; // +0x2C, size 0x4, type 0
   m_attackPowerPerAgility; // +0x30, size 0x4, type 0
   m_rangedAttackPowerPerAgility; // +0x34, size 0x4, type 0

Flags

0b00100000 - Can wear plate 
0b00010000 - Can wear mail 
0b00001000 - Can switch aura
0b00000100 - Can summon pet
0b00000010 - Can wear cloth 
0b00000001 - Can wear leather