WoW Classic Professions
I could use some help with getting data for professions.
I've been hunting around and can not seem to find the right way to get this to work in classic (that is if it is even possible) Here is the "Retail" code: Code:
local proPlugin = CreateFrame('Button', nil, Datapanel) Coke |
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:
So if any of you mad coders can help me out with breaking the list down that would be great. |
Does the IsAbandonable return work? (8th in the list)
|
Quote:
so I've been playing around with it and almost have it where I want it. Its sloppy but almost does the trick. Code:
GameTooltip:AddLine("Professions") Now if I can just figure out how to remove the Secondary skills from the bottom list it would be perfect. Thanks again for the help. |
Classic's skills tab is always in the same order: Class, Primary, Secondary, Weapon, Armor, and Language. Using the header text, the SKILLS global string, and some local tables:
Lua Code:
|
Quote:
With using @Kanegasi's main lay out I was able to get the perfect setup for my tooltip for my databar. Here is the code in its final stage: Code:
local section, primary, secondary, weapons, other = 0, {}, {}, {}, {} Again thanks for the help. Coke |
All times are GMT -6. The time now is 05:54 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI