/
FC_SPELL_RGB = GetSpellInfo(85288) |
FC_SPELL_ENR = GetSpellInfo(14202) |
FC_SPELL_RBE = GetSpellInfo(18499) |
FC_SPELL_DW = GetSpellInfo(12292) |
FC_SPELL_EXE = GetSpellInfo(5308) |
--/script start, duration, enabled = GetSpellCooldown(GetSpellInfo(23881)); print(start..' = '.. duration ..' = ' .. enabled) |
function FuryCommander:InitBarArray() |
height = tonumber(string.match(GetCVar("gxResolution"), "%d+x(%d+)")) |
width = tonumber(string.match(GetCVar("gxResolution"), "(%d+)x+%d")) |
width = width*FuryCommander_Save.eyefinity--eyefinity is wird |
width = width*3--eyefinity is wird |
FC.V = { |
['bColor'] = {.1,.1,.1}, |
['wColor'] = {.6,.6,.6}, |
end |
end |
function FuryCommander:ColorEnrageBorder(b) |
if UnitAura("player", FC_SPELL_ENR, nil, "PLAYER") or UnitAura("player", FC_SPELL_RBE, nil, "PLAYER") then |
if UnitAura("player", FC_SPELL_ENR, nil, "PLAYER") or UnitAura("player", FC_SPELL_RBE, nil, "PLAYER") or UnitAura("player", FC_SPELL_DW, nil, "PLAYER") then |
b.border[1]:SetBackdropColor(unpack(FC.V.brColor)) |
b.border[2]:SetBackdropColor(unpack(FC.V.yeColor)) |
b.border[3]:SetBackdropColor(unpack(FC.V.brColor)) |