From 865a54197bc79a7034b3c1f31c5d55f13102b351 Mon Sep 17 00:00:00 2001 From: ackis Date: Fri, 5 Jun 2009 16:30:51 +0000 Subject: [PATCH] Scan the recipe itself when doing a specific item scan. --- ARLDatamine.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index b6b6468..24cca32 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1966,6 +1966,13 @@ function addon:TooltipScanRecipe(spellid) elseif (recipelist[spellid]["Profession"] ~= GetSpellInfo(53428)) then self:Print("Missing RecipeLink for ID " .. spellid .. " - " .. name .. " (If these are DK abilities, don't worry, that's normal.") end + + -- We have a reverse look-up for the item which creates the spell (aka the recipe itself) + if (spellitem[spellid]) then + ARLDatamineTT:SetHyperlink("item:" .. spellitem[spellid] .. ":0:0:0:0:0:0:0") + self:ScanToolTip(name,recipelist,reverselookup,false) + end + else self:Print("Spell ID does not exist in the database.") end -- 1.7.9.5