DB/Talent: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
 
(14 intermediate revisions by 6 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'''  
  1 ID Integer
  1 ID Integer
  2 iRefID_[[TalentTab.dbc|TalentTab]] Integer
  2 iRefID_[[TalentTab.dbc|TalentTab]] Integer
  3 row Integer
  3 tierID Integer
  4 col Integer
  4 columnIndex Integer
  5 iRefID_[[Spell.dbc|Spell]] Integer Rank 1
  5 iRefID_[[Spell.dbc|spellRank]] Integer[9]
6 iRefID_[[Spell.dbc|Spell]] Integer Rank 2
  14 iRefID_[[Talent.dbc|prereqTalent]] Integer[3] Required talent  
7 iRefID_[[Spell.dbc|Spell]] Integer Rank 3
  15 iRefID_[[Talent.dbc|prereqRank]] Integer[3] Required points in talent
  8 iRefID_[[Spell.dbc|Spell]] Integer Rank 4
  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.
9 iRefID_[[Spell.dbc|Spell]] Integer Rank 5
  21 requiredSpellID Integer 0 or 339 (Only talent with 339 is the druid talent: Nature's Grasp)   
10 iRefID*_[[Spell.dbc|Spell]] Integer Rank 6?
  22-23  allowForPetFlags[2]
11 iRefID*_[[Spell.dbc|Spell]] Integer Rank 7?
12 iRefID*_[[Spell.dbc|Spell]] Integer Rank 8?
13 iRefID*_[[Spell.dbc|Spell]] Integer Rank 9?
14 iRefID_[[Talent.dbc|Talent]] Integer Required talent  
  15 iRefID*_[[Talent.dbc|Talent]] Integer Required talent 2?
16 iRefID*_[[Talent.dbc|Talent]] Integer Required talent 3?
17 talentCount Integer Required points in talent (zero-indexed)
18 talentCount_2* Integer Required points in talent 2 (zero-indexed)?
19 talentCount_3* Integer Required points in talent 3 (zero-indexed)?
  20 singlePoint Boolean 1 if the talent only has one point, otherwise 0.  
  21 Unknown Integer 0 or 339 (Only talent with 339 is the druid talent: Nature's Grasp)   
  22-23  allowForPetFlags[2]        
 
Retrieved from "http://www.sourcepeek.com/wiki/Talent.dbc"


==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;
  {{Template:Type|stringref}} m_description_lang;
};
[[Category:DBC]]
[[Category:DBC]]
[[Category:DBC_Vanilla]]
[[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;
};