/
## Interface: 90001 |
## Author: Tomate |
## Version: 9.03 |
## Version: 9.04 |
## Title: |TInterface\Icons\ClassIcon_Rogue:0|t |cffd38245Slice|r|cff45ad3bCommander|r |TInterface\Icons\ClassIcon_Rogue:0|t |
## Notes: Energy bar, Combo point bar and rogue timer bar. |
## SavedVariables: SC |
if BAR['expire'] ~= -1 then |
BAR['expire'] = -1 |
if BAR['obj']:IsVisible() then |
SliceCommander:PlaySound(BAR['sound']['expired']) |
if BAR['sound'] ~= nil then |
SliceCommander:PlaySound(BAR['sound']['expired']) |
end |
end |
end |
if not BAR['obj']:IsVisible() then |
return nil; |
end |
print(dialog:GetName().."Text"); |
local text = _G[dialog:GetName().."Text"]; |
local editBox = _G[dialog:GetName().."EditBox"]; |
local button1 = _G[dialog:GetName().."Button1"]; |
function SliceCommander:getShowCDDescription(spell) |
if string.sub(spell, -2) == 'CD' then |
print(spell) |
return string.format(L["Display the %s cooldown bar"], SC_SPELL[spell]) |
else |
return string.format(L["Display the %s timer bar"], SC_SPELL[spell]) |