Quantcast WoWInterface - View Single Post - WoW Classic Professions
View Single Post
01-22-20, 08:18 AM   #2
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 305
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:
  1. for skillIndex = 1, GetNumSkillLines() do
  2.     local skillName, isHeader, _, skillRank, _, _, skillMaxRank, _, _, _, _, _, _ = GetSkillLineInfo(skillIndex)
  3.     if not isHeader then
  4.         GameTooltip:AddDoubleLine(skillName, skillRank..' / '..skillMaxRank,.75,.9,1,.3,1,.3)
  5.     end
  6. end



So if any of you mad coders can help me out with breaking the list down that would be great.

Last edited by cokedrivers : 01-22-20 at 09:39 AM.
  Reply With Quote