DB/Talent: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 22: | Line 22: | ||
14 iRefID_[[Talent.dbc|prereqTalent]] Integer[3] Required talent | 14 iRefID_[[Talent.dbc|prereqTalent]] Integer[3] Required talent | ||
15 iRefID_[[Talent.dbc|prereqRank]] Integer[3] Required points in talent | 15 iRefID_[[Talent.dbc|prereqRank]] Integer[3] Required points in talent | ||
20 flags Boolean 1 if the talent only has one point, otherwise 0. | 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) | 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] |
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; };