WoWInterface SVN CoolLine

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 29 to Rev 30
    Reverse comparison

Rev 29 → Rev 30

trunk/CoolLine/CoolLine.toc
2,7 → 2,7
## Title: CoolLine
## Notes: Shows cooldowns on a single bar.
## Author: TotalPackage
## Version: 5.0.001
## Version: 5.0.002
 
## SavedVariables: CoolLineDB
## SavedVariablesPerCharacter: CoolLineCharDB
trunk/CoolLine/core.lua
418,7 → 418,22
for i = tabOffset+1, tabSlots+tabOffset do
name = GetSpellBookItemName(i, btype)
if not name then break end
if name ~= last then
local slotType, slotID = GetSpellBookItemInfo(i, btype)
if slotType == "FLYOUT" then
local _, _, numSlots, _ = GetFlyoutInfo(slotID)
for i = 1, numSlots do
local spellID, _, _, spellName, _ = GetFlyoutSlotInfo(slotID, i)
last = spellName
if sb[spellName] then
sb[spellName] = specialspells[spellName] or spellID
else
CLTip:SetSpellByID(spellID)
if CheckRight(CLTipTextRight2) or CheckRight(CLTipTextRight3) or CheckRight(CLTipTextRight4) then
sb[spellName] = specialspells[spellName] or spellID
end
end
end
elseif name ~= last then
local stype, id = GetSpellBookItemInfo(i, btype)
last = name
if sb[name] then