/trunk
local class = select(2, UnitClass(unit)) |
local color = raidcolors[class] |
bar:SetStatusBarColor(color.r, color.g, color.b) |
if color then |
bar:SetStatusBarColor(color.r, color.g, color.b) |
end |
if UnitIsDead(unit) then |
bar:SetValue(0) |
local targettarget = oUF:Spawn('targettarget', framename..'targettarget') |
local party = oUF:Spawn('header', 'oUF_Industrial_party') |
pet:SetPoint(MC, UIParent, MC, 0, -390) |
pet:SetPoint(MC, UIParent, MC, 0, -370) |
player:SetPoint(BC, pet, TC, 0, outerpadding) |
target:SetPoint(BC, player, TC, 0, outerpadding) |
targettarget:SetPoint(BC, target, TC, 0, outerpadding) |