WoWInterface SVN CoolLine

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 44 to Rev 45
    Reverse comparison

Rev 44 → Rev 45

CoolLine/CoolLine.toc
2,7 → 2,7
## Title: CoolLine
## Notes: Shows cooldowns on a single bar.
## Author: TotalPackage
## Version: 6.0.002
## Version: 6.0.003
 
## SavedVariables: CoolLineDB
## SavedVariablesPerCharacter: CoolLineCharDB
CoolLine/core.lua
424,13 → 424,14
CoolLine.NewCooldown, CoolLine.ClearCooldown = NewCooldown, ClearCooldown
 
do -- cache spells that have a cooldown
local GetSpellBookItemName, GetSpellBookItemInfo, GetSpellBaseCooldown = GetSpellBookItemName, GetSpellBookItemInfo, GetSpellBaseCooldown
local GetSpellBookItemName, GetSpellBookItemInfo, GetSpellBaseCooldown, GetSpellCharges, IsTalentSpell
= GetSpellBookItemName, GetSpellBookItemInfo, GetSpellBaseCooldown, GetSpellCharges, IsTalentSpell
local N_MIN_COOLDOWN = gsub(SPELL_RECAST_TIME_MIN, "%%%.3g", "(.+)")
local N_SEC_COOLDOWN = gsub(SPELL_RECAST_TIME_SEC, "%%%.3g", "(.+)")
local scantip = CreateFrame("GameTooltip")
for i = 1, 5 do
local L, R = scantip:CreateFontString(nil,nil,"GameFontNormal"), scantip:CreateFontString(nil,nil,"GameFontNormal")
scantip:AddFontStrings(L, R)
local R = scantip:CreateFontString(nil,nil,"GameFontNormal")
scantip:AddFontStrings(scantip:CreateFontString(nil,nil,"GameFontNormal"), R)
scantip[i] = R
end
local function CacheBook(btype)