DB/Talent: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Note for modders : When edited, this DBC requires to be ordered properly to work, your new row won't work if you add it at the end. The correct ordering is : spec ID > tier >column | |||
==1.12.1.5875== | |||
struct TalentRec { | |||
uint32_t m_ID; | |||
uint32_t m_specID; | |||
uint32_t m_tierID; | |||
uint32_t m_columnIndex; | |||
uint32_t rank[9]; | |||
uint32_t prerequisites_talent[3]; | |||
uint32_t prerequisites_rank[3]; | |||
uint32_t m_flags; | |||
uint32_t required_spell_id; | |||
}; | |||
==Structure== | ==Structure== | ||
'''Column Field Type Notes''' | '''Column Field Type Notes''' | ||
Line 4: | Line 18: | ||
2 iRefID_[[TalentTab.dbc|TalentTab]] Integer | 2 iRefID_[[TalentTab.dbc|TalentTab]] Integer | ||
3 tierID Integer | 3 tierID Integer | ||
4 columnIndex | 4 columnIndex Integer | ||
5 iRefID_[[Spell.dbc|spellRank]] | 5 iRefID_[[Spell.dbc|spellRank]] Integer[9] | ||
14 iRefID_[[Talent.dbc|prereqTalent]] | 14 iRefID_[[Talent.dbc|prereqTalent]] Integer[3] Required talent | ||
15 iRefID_[[Talent.dbc|prereqRank]] | 15 iRefID_[[Talent.dbc|prereqRank]] Integer[3] Required points in talent | ||
20 flags | 20 flags Boolean 1 if the talent only has one point, otherwise 0. This flag displays additional spell data like range, cast time, mana cost. | ||
21 requiredSpellID | 21 requiredSpellID Integer 0 or 339 (Only talent with 339 is the druid talent: Nature's Grasp) | ||
22-23 allowForPetFlags[2] | 22-23 allowForPetFlags[2] | ||
==6.0.1.18179== | ==6.0.1.18179== | ||
Line 26: | Line 40: | ||
}; | }; | ||
[[Category:DBC]] | [[Category:DBC]] | ||
[[Category:DBC_Vanilla]] | |||
[[Category:DBC_WotLK]] | [[Category:DBC_WotLK]] | ||
[[Category:DBC_WoD]][[Category:6.0.1.18179]] | [[Category:DBC_WoD]][[Category:6.0.1.18179]] |
Latest revision as of 23:56, 10 June 2022
Note for modders : When edited, this DBC requires to be ordered properly to work, your new row won't work if you add it at the end. The correct ordering is : spec ID > tier >column
1.12.1.5875
struct TalentRec { uint32_t m_ID; uint32_t m_specID; uint32_t m_tierID; uint32_t m_columnIndex; uint32_t rank[9]; uint32_t prerequisites_talent[3]; uint32_t prerequisites_rank[3]; uint32_t m_flags; uint32_t required_spell_id; };
Structure
Column Field Type Notes 1 ID Integer 2 iRefID_TalentTab Integer 3 tierID Integer 4 columnIndex Integer 5 iRefID_spellRank Integer[9] 14 iRefID_prereqTalent Integer[3] Required talent 15 iRefID_prereqRank Integer[3] Required points in talent 20 flags Boolean 1 if the talent only has one point, otherwise 0. This flag displays additional spell data like range, cast time, mana cost. 21 requiredSpellID Integer 0 or 339 (Only talent with 339 is the druid talent: Nature's Grasp) 22-23 allowForPetFlags[2]
6.0.1.18179
struct TalentRec { uint32_t m_ID; uint32_t m_specID; uint32_t m_tierID; uint32_t m_columnIndex; uint32_t m_spellID; uint32_t m_flags; uint32_t m_categoryMask[2]; uint32_t m_classID; uint32_t m_overridesSpellID; stringrefⁱ m_description_lang; };