View Single Post
10-02-18, 09:29 AM   #2
MuffinManKen
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 106
I assumed that C_TradeSkill would have something, but I don't see it. The closest is C_TradeSkillUI.GetRecipeSourceText which would probably be faster than tooltip scanning, but I'm pretty sure it would only work for Trainer-learned recipes.

LibPeriodicTable would have helped before Blizzard split the Tradeskills into the different expansion-based categories.

So from what I can see, scanning tooltips is the best option. I'm not positive, but I think the global ITEM_MIN_SKILL is what you want to look for. It's equal to "Requires %s (%d)" in enUS.
  Reply With Quote