Originally Posted by Resike
This is retarded. Why the heck they had to do this? How hard is it to calculate the percentages by themselfs?
|
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.