Quantcast
WoWInterface: SVN - Ara_Broker_Tradeskills - Diff - Rev 7 and 4 - /trunk/Ara_Broker_Tradeskills.lua

WoWInterface SVN Ara_Broker_Tradeskills

[/] [trunk/] [Ara_Broker_Tradeskills.lua] - Diff between revs 4 and 7

Show entire file | Details | Blame | View Log

Rev 4 Rev 7
Line 472... Line 472...
 
 
        for char, data in next, realm do
        for char, data in next, realm do
                for spellID, expireTime in next, data do
                for spellID, expireTime in next, data do
                        if type(spellID)=="number" then
                        if type(spellID)=="number" then
                                local cd = watchedCDs[spellID]
                                local cd = watchedCDs[spellID]
 
                                if cd then
                                temp[#temp+1] = new(
                                temp[#temp+1] = new(
                                        "name", cd.group and (config.aliases[cd.group] or cd.group) or config.aliases[spellID] or config.names[spellID] or GetSpellInfo(spellID),
                                        "name", cd.group and (config.aliases[cd.group] or cd.group) or config.aliases[spellID] or config.names[spellID] or GetSpellInfo(spellID),
                                        "timeLeft", expireTime-now,
                                        "timeLeft", expireTime-now,
                                        "char", char,
                                        "char", char,
                                        "spellID", spellID,
                                        "spellID", spellID,
                                        "skill", cd.skill,
                                        "skill", cd.skill,
                                        "group", cd.group)
                                        "group", cd.group)
                        end
                        end
                end
                end
        end
        end
 
        end
        sort(temp, SortCooldowns)
        sort(temp, SortCooldowns)
 
 
        for i=1, #temp do
        for i=1, #temp do
                local cd = temp[i]
                local cd = temp[i]
                if not dups[cd.group] then
                if not dups[cd.group] then