Originally Posted by galvin
Found out how to filter out trade skills when looking thru spells.
local TradeSkillID = C_TradeSkillUI.GetTradeSkillLineForRecipe(TradeSkillID)
Comes back nil then its not a spell that belongs to any crafting.
|
I guess parameter is spellID, not TradeSkillID then?
In blizz UI they call it "recipeID", and use that value for both C_TradeSkillUI.GetTradeSkillLineForRecipe and GetSpellInfo, so it's safe to assume it's spell id after all.