WoWInterface SVN Exonumist

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 34 to Rev 33
    Reverse comparison

Rev 34 → Rev 33

Exonumist.lua
55,7 → 55,6
------------------------------------------------------------------------
 
local function AddTooltipInfo(tooltip, currency, includePlayer)
if not currency then return end
--print("AddTooltipInfo", currency, includePlayer)
local spaced
for i = (includePlayer and 1 or 2), #playerList do
175,19 → 174,6
end
end)
 
hooksecurefunc(GameTooltip, "SetLFGDungeonReward", function(tooltip, dungeonID, rewardIndex)
local name = GetLFGDungeonRewardInfo(dungeonID, rewardIndex)
if name then
AddTooltipInfo(tooltip, nameToID[name], true)
end
end)
hooksecurefunc(GameTooltip, "SetLFGDungeonReward", function(tooltip, dungeonID, shortageIndex, rewardIndex)
local name = GetLFGDungeonShortageRewardInfo(dungeonID, shortageIndex, rewardIndex)
if name then
AddTooltipInfo(tooltip, nameToID[name], true)
end
end)
 
hooksecurefunc(GameTooltip, "SetHyperlink", function(tooltip, link)
--print("SetHyperlink", link)
local id = strmatch(link, "currency:(%d+)")