WoWInterface SVN CoolLine

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 48 to Rev 49
    Reverse comparison

Rev 48 → Rev 49

trunk/CoolLine/CoolLine.toc
1,8 → 1,8
## Interface: 60000
## Interface: 60200
## Title: CoolLine
## Notes: Shows cooldowns on a single bar.
## Author: TotalPackage
## Version: 6.0.004
## Version: 6.2.001
 
## SavedVariables: CoolLineDB
## SavedVariablesPerCharacter: CoolLineCharDB
trunk/CoolLine/core.lua
21,7 → 21,7
local BOOKTYPE_SPELL, BOOKTYPE_PET = BOOKTYPE_SPELL, BOOKTYPE_PET
local spells = { [BOOKTYPE_SPELL] = { }, [BOOKTYPE_PET] = { }, }
local chargespells = { [BOOKTYPE_SPELL] = { }, [BOOKTYPE_PET] = { }, }
local frames, cooldowns, specialspells, placeholder = { }, { }, { }, { }
local frames, cooldowns, specialspells = { }, { }, { }
 
local SetValue, updatelook, createfs, ShowOptions, RuneCheck
local function SetValueH(this, v, just)
102,23 → 102,13
return true
end
end
elseif class == "MAGE" then
placeholder = { [125430] = 112948, }
elseif class == "PRIEST" then
specialspells = {
[GetSpellInfo(87151) or "blah"] = 87151, -- Archangel
[GetSpellInfo(14751) or "blah"] = 14751, -- Chakra
[GetSpellInfo(81209) or "blah"] = 81209, -- Chakra
[GetSpellInfo(81209) or "blah"] = 81209, -- Chakra: Chastise
[GetSpellInfo(88684) or "blah"] = 88684, -- Holy Word: Serenity
[GetSpellInfo(88682) or "blah"] = 88682, -- Holy Word: Aspire
[GetSpellInfo(88685) or "blah"] = 88685, -- Holy Word: Sanctuary
[GetSpellInfo(88625) or "blah"] = 88625, -- Holy Word: Chastise
}
--[[elseif class == "DRUID" then
specialspells = {
[GetSpellInfo(33917) or "blah"] = 33878, -- Mangle (Bear)
[GetSpellInfo(106830) or "blah"] = 77758, -- Thrash (Bear)
}]]--
end
 
SlashCmdList.COOLLINE = ShowOptions
444,7 → 434,7
if flyID then
local flyCD = GetSpellBaseCooldown(flyID)
if flyCD and flyCD > 2499 then
sb[flyID] = specialspells[flyID] or flyName
sb[flyID] = flyName -- specialspells[flyID] or flyName
end
end
end
467,9 → 457,9
local cd = GetSpellBaseCooldown(spellID)
if cd and cd > 2499 then
sb[spellID] = spellName
if specialspells[spellName] then
sb[ specialspells[spellName] ] = spellName
end
-- if specialspells[spellName] then
-- sb[ specialspells[spellName] ] = spellName
-- end
end
end
end