WoWInterface SVN CoolLine

Compare Revisions

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

Rev 30 → Rev 31

trunk/CoolLine/CoolLine.toc
2,7 → 2,7
## Title: CoolLine
## Notes: Shows cooldowns on a single bar.
## Author: TotalPackage
## Version: 5.0.002
## Version: 5.0.003
 
## SavedVariables: CoolLineDB
## SavedVariablesPerCharacter: CoolLineCharDB
trunk/CoolLine/core.lua
406,7 → 406,7
local cooldown2 = gsub(SPELL_RECAST_TIME_SEC, "%%%.%d[fg]", "(.+)")
local function CheckRight(rtext)
local text = rtext and rtext:GetText()
if text and (strmatch(text, cooldown1) or strmatch(text, cooldown2)) then
if text and text ~= '' and (strmatch(text, cooldown1) or strmatch(text, cooldown2)) then
return true
end
end
427,10 → 427,10
if sb[spellName] then
sb[spellName] = specialspells[spellName] or spellID
else
CLTip:SetSpellByID(spellID)
if CheckRight(CLTipTextRight2) or CheckRight(CLTipTextRight3) or CheckRight(CLTipTextRight4) then
--CLTip:SetSpellByID(spellID)
--if CheckRight(CLTipTextRight2) or CheckRight(CLTipTextRight3) or CheckRight(CLTipTextRight4) then
sb[spellName] = specialspells[spellName] or spellID
end
--end
end
end
elseif name ~= last then
439,10 → 439,10
if sb[name] then
sb[name] = specialspells[name] or id
else
CLTip:SetSpellBookItem(i, btype)
if CheckRight(CLTipTextRight2) or CheckRight(CLTipTextRight3) or CheckRight(CLTipTextRight4) then
--CLTip:SetSpellByID(id)
--if CheckRight(CLTipTextRight2) or CheckRight(CLTipTextRight3) or CheckRight(CLTipTextRight4) then
sb[name] = specialspells[name] or id
end
--end
end
end
end