Mercurial > wow > reagentmaker
diff ReagentMaker.lua @ 30:fd76c8951b7d
Save the spell link to be able to display the tooltip even when the recipe is hidden
author | contrebasse |
---|---|
date | Thu, 28 Apr 2011 20:31:25 +0200 |
parents | 76414c6318ff |
children | 22fa64c9b2de |
line wrap: on
line diff
--- a/ReagentMaker.lua Thu Apr 28 19:46:52 2011 +0200 +++ b/ReagentMaker.lua Thu Apr 28 20:31:25 2011 +0200 @@ -204,13 +204,19 @@ -- Tooltips local link - if A.data[reagentID].spell then + if A.data[reagentID].spellLink then + link = A.data[reagentID].spellLink + elseif A.data[reagentID].spellID then link = GetSpellLink(A.data[reagentID].spellID) else + A.DEBUG("Recipe link not found for "..reagentID) + return + --[[ local reagentIndex = A.findSkillIndex(reagentID) if reagentIndex then link = GetTradeSkillRecipeLink(A.findSkillIndex(reagentID)) end + --]] end if link then