sorry for the silence. my answers are short, because I do not write very well in english
2) I want to lift up the special power bar a bit (about 2-4 px)
|
self.orbs:SetPoint('CENTER', self.power, 'TOP', 0, -4) (-4 - y-value for orbs bar, you was trying move every orb separately)
1) remove total health value only from playerframe and remove total power value only from target frame:
|
just self.health.value:Hide() if unit equal player or target
lua Code:
if self.unit =='player' or self.unit == 'target' then
self.health.value:ClearAllPoints()
self.health.value:Hide()
else
self.health.value:SetPoint('RIGHT', self.panel, 'RIGHT', -gap*2, 0)
end