Originally Posted by bsmorgan
.
Skillet (the retail version) is locale agnostic because it uses numeric spellIDs. I had to bastardize Skillet-Classic to use the name as the key instead. This blew any chance of a common set of source files.
|
So I noticed Skillet isn't working with Enchanting. I was having the same problem. I found through some digging that Enchanting has been reverted to the old "Craft" API. I've updated my itemID fetching to be a function as follows:
Code:
function RecipeRadar_SkillDB_GetItemLink(prof_type, index)
local itemLink, itemID
if (prof_type == "trade") then
itemLink = GetTradeSkillItemLink(index)
itemID = itemLink:match("item:(%d+)")
elseif (prof_type == "craft") then
itemLink = GetCraftItemLink(index)
itemID = itemLink:match("enchant:(%d+)")
end
return tonumber(itemID)
end