WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /CurrencyTracker
    from Rev 294 to Rev 298
    Reverse comparison

Rev 294 → Rev 298

CurrencyTracker.lua
32,7 → 32,9
for i=1,GetNumWatchedTokens() do
local name, count, extraCurrencyType, icon = GetBackpackCurrencyInfo(i);
if extraCurrencyType == 1 then icon = "Interface\\PVPFrame\\PVP-ArenaPoints-Icon" elseif extraCurrencyType == 2 then icon = "Interface\\AddOns\\CurrencyTracker\\"..faction end
if text == "" then text = count.." |T"..icon..":15:15:0:0|t" else text = text.." "..count.." |T"..icon..":15:15:0:0|t" end
if icon ~= nil then
if text == "" then text = count.." |T"..icon..":15:15:0:0|t" else text = text.." "..count.." |T"..icon..":15:15:0:0|t" end
end
end
CurrencyTrackerDB[GetRealmName()][UnitName("player")] = text
CurrencyTracker.text = text