/
firstshortbuff = nil |
else |
for _, b in pairs(bars) do |
if b.order and not bar.order and b.data.typ == bar.data.typ then |
if b.order and not bar.order and b.data.dguid == bar.data.dguid and b.data.typ == bar.data.typ then |
bar.pos = b.pos |
bar.order = true |
break |
firstbossmod = nil |
else |
for _, b in pairs(bars) do |
if b.order and not bar.order and b.data.typ == bar.data.typ then |
if b.order and not bar.order and b.data.dguid == bar.data.dguid and b.data.typ == bar.data.typ then |
bar.pos = b.pos |
bar.order = true |
break |
firstcooldown = nil |
else |
for _, b in pairs(bars) do |
if b.order and not bar.order and b.data.typ == bar.data.typ then |
if b.order and not bar.order and b.data.dguid == bar.data.dguid and b.data.typ == bar.data.typ then |
bar.pos = b.pos |
bar.order = true |
break |
CompactBars.hooks[self]["CreateBar"](self, timer, id, icon, huge, small, color) |
return |
end |
CompactBars.sb:CreateBar({id = id, typ = "Bossmods"}, timer, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end) |
CompactBars:updateBarPos() |
CompactBars.sb:CreateBar(id, timer, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end) |
if not CompactBars.db.profile.hidebossmod then |
CompactBars.hooks[self]["CreateBar"](self, timer, id, icon, huge, small, color) |
end |
if CompactBars.db.profile.ebossmods then |
local bars = CompactBars.sb:GetBars() |
for _, bar in pairs(bars) do |
if bar.data and bar.data.id == id then |
if bar.data and bar.data == id then |
bar.start = nil |
end |
end |
else |
text = nil |
end |
CompactBars.sb:CreateBar({id = id, typ = "Bossmods"}, dur, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end) |
CompactBars:updateBarPos() |
CompactBars.sb:CreateBar(id, dur, 0, text, icon, CompactBars:GetBarPos(0, "Bossmods"), deepCopy(color), deepCopy(color), CompactBars.db.profile.bartexture, function() CompactBars:removeColor() end) |
end |
end |
local function bigwigs_stop(self, id) |
if CompactBars.db.profile.ebossmods then |
local bars = CompactBars.sb:GetBars() |
for _, bar in pairs(bars) do |
if bar.data and bar.data.id == id then |
if bar.data and bar.data == id then |
bar.start = nil |
end |
end |