Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function()
- local p = math.max(UnitPower("player",0)) / math.max(UnitPowerMax("player",0)) * 100;
- return string.format("%.f", p) .. "%";
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement