Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. function()
  2. local value = select(16, WA_GetUnitBuff('player', 'Anti-Magic Shell'))
  3.  
  4. if value then
  5. if value < 1e6 then
  6. return string.format("%.fK", value/1e3);
  7. else
  8. return string.format("%.fM", value/1e6);
  9. end
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement