View Single Post
02-15-13, 04:12 AM   #3
Wildbreath
A Cyclonian
 
Wildbreath's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 46
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:
  1. if self.unit =='player' or self.unit == 'target' then
  2.     self.health.value:ClearAllPoints()
  3.     self.health.value:Hide()
  4. else
  5.     self.health.value:SetPoint('RIGHT', self.panel, 'RIGHT', -gap*2, 0)
  6. end
  Reply With Quote