View Single Post
09-03-15, 01:51 PM   #12
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by p3lim View Post
If all you're after is getting percentages, you can do this:
Code:
local perc = hpBar:GetValue() * 100
someHealthText:SetFormattedText('%.1f%%', perc)
And use HookScript on the health bar's OnValueChanged and OnShow to update it.
Thats not really the issue, the old percentage functions should work fine even unchanged. The real issue here they probably made the change since the default name plates only show percentages, so better to remove any other usefull information about it.