DB/Talent

From wowdev
Jump to navigation Jump to search

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;
};