Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. function()
  2. local unit = "player"
  3. local current, max = UnitPower(unit), UnitPowerMax(unit)
  4. return ("%i"):format(current / max * 100)
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement