Quantcast
WoWInterface - View Single Post - Getting required profession levels for Recipes/Patterns/Plans/Schematics etc.?
View Single Post
10-10-18, 06:43 AM   #4
LudiusMaximus
A Cobalt Mageweaver
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 248
Thanks for your replies.

I guess I have to go for scanning the tooltip then.
But more questions arise. Maybe you can help me again?

What I am working on is an addon that will color the item icons of all recipes red, if the player character does not fulfill the required skill level to learn it.

So

1.) How can I get the current player skill level for a profession? How can I differentiate between the different expansions?

2.) When I scan the recipe tooltip, ITEM_MIN_SKILL = "Requires %s (%d)" seems to be the right global to scan for (thanks @MuffinManKen). But when I want to know what expansion it is about, I would need the globals for the expansion names (Outland, Northrend, Cataclysm, Pandaria, Legion, Zandalari/Kul Tiras) as well, right? What would these globals be?

Thanks again!
  Reply With Quote