Ok so I am able to get ALL the skill listed how can I break them down into professions?
Here is the code that works and the pic to go with it.
Lua Code:
for skillIndex = 1, GetNumSkillLines() do
local skillName, isHeader, _, skillRank, _, _, skillMaxRank, _, _, _, _, _, _ = GetSkillLineInfo(skillIndex)
if not isHeader then
GameTooltip:AddDoubleLine(skillName, skillRank..' / '..skillMaxRank,.75,.9,1,.3,1,.3)
end
end
So if any of you mad coders can help me out with breaking the list down that would be great.