/trunk
local raidcolors = _G.RAID_CLASS_COLORS |
local innerpadding = 5 |
local innerpadding = 1 |
local elementpadding = 1 |
local outerpadding = 5 |
local outerpadding = 1 |
--local buffsize = (healthheight + powerheight + innerpadding*2 + elementpadding)/2 |
local buffsize = healthheight |
end |
end |
function updateHealth (self, event, unit, bar, min, max) |
function updateHealth (self, event, bar, unit, min, max) |
if unit ~= self.unit then return end |
local class = select(2, UnitClass(unit)) |
self.Info:SetText(('%s %s'):format(level, happiness)) |
end |
function updatePower (self, event, unit, bar, min, max) |
function updatePower (self, event, bar, unit, min, max) |
if min == 0 then |
bar.value:SetText(0) |
else |
local targettarget = oUF:Spawn('targettarget', framename..'targettarget') |
local party = oUF:Spawn('header', 'oUF_Industrial_party') |
pet:SetPoint(MC, UIParent, MC, 0, -350) |
pet:SetPoint(MC, UIParent, MC, 0, -390) |
player:SetPoint(BC, pet, TC, 0, outerpadding) |
target:SetPoint(BC, player, TC, 0, outerpadding) |
targettarget:SetPoint(BC, target, TC, 0, outerpadding) |
) |
party:Show() |
RuneFrame:Hide() |
if RuneFrame then |
RuneFrame:Hide() |
end |