Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function ()
  2. local now = GetTime();
  3. WA_STATS_LAST_UP = WA_STATS_LAST_UP or now - 1;
  4. if now >= WA_STATS_LAST_UP + 0.1 then
  5. WA_STATS_LAST_UP = now;
  6.  
  7. local agi = select(1, UnitStat("player", 2));
  8.  
  9. WA_STATS_RETURN = string.format([[
  10. Agi: %.0f,
  11. agi or 0
  12. );
  13. end
  14.  
  15. return WA_STATS_RETURN or "<no data>";
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement