View Single Post
03-30-10, 07:08 AM   #9
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
I might be wrong, but tags don't profit from frequentUpdates, afaik. A normal health function would do it, though.

Edit: something like this

Code:
local updateHealth = function(self, event, unit, bar, min, max)
    local d =(round(min/max, 2)*100)
	bar.PERvalue:SetText((round(min/max, 2)*100))
	bar.value:SetText(min)	
	bar.value:SetTextColor(1,1,1])
	bar.PERvalue:SetTextColor(1,1,1)
end
or
Code:
local updatePower = function(self, event, unit, bar, min, max)
	local dp =(round(min/max, 2)*100)
	bar.value:SetText(min)
	bar.value:SetTextColor(1,1,1)
end
note: just examples, nothing that insta-fits into your layout
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."


Last edited by Dawn : 03-30-10 at 07:14 AM.
  Reply With Quote