power.value:SetShadowOffset(1, -1) |
|
-- castbar |
castbar:SetAllPoints(health) |
--[[castbar.Icon:SetPoint(ML, power, ML) |
castbar.Icon:SetWidth(power:GetHeight()) |
castbar.Icon:SetHeight(power:GetHeight())]] |
|
--[[castbar:SetPoint(TL, castbar.Icon, TR) |
castbar:SetPoint(BL, castbar.Icon, BR) |
castbar:SetPoint(TR, power, TR) |
castbar:SetPoint(BR, power, BR)]] |
castbar:SetAllPoints(power) |
castbar:SetToplevel(true) |
castbar:SetStatusBarTexture(health_texture) |
castbar:SetStatusBarColor(128/255, 255/255, 0, 0.5) |
--castbar:SetStatusBarColor(128/255, 255/255, 0, 0.5) |
castbar:SetStatusBarColor(1, 0, 0) |
|
-- buffs |
local h = health_height + spacing + power_height |