DB/Talent: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Header Info ==
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
Records...................577
Fields.....................23
Record Size................84
String Block Size...........1


==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 10: Line 18:
  2 iRefID_[[TalentTab.dbc|TalentTab]] Integer
  2 iRefID_[[TalentTab.dbc|TalentTab]] Integer
  3 tierID Integer
  3 tierID Integer
  4 columnIndex Integer
  4 columnIndex Integer
  5 iRefID_[[Spell.dbc|spellRank]] Integer[9]
  5 iRefID_[[Spell.dbc|spellRank]] Integer[9]
  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]


Retrieved from "http://www.sourcepeek.com/wiki/Talent.dbc"
==6.0.1.18179==
==6.0.1.18179==
  struct TalentRec {
  struct TalentRec {
Line 30: Line 37:
   uint32_t m_classID;
   uint32_t m_classID;
   uint32_t m_overridesSpellID;
   uint32_t m_overridesSpellID;
   stringref m_description_lang;
   {{Template:Type|stringref}} m_description_lang;
  };
  };
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Vanilla]]
[[Category:DBC_WotLK]]
[[Category:DBC_WotLK]]
[[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;
};