Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function()
- local unit = "player"
- local current, max = UnitPower(unit), UnitPowerMax(unit)
- return ("%i"):format(current / max * 100)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement