aggixx

Untitled

Jul 9th, 2016
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. function()
  2. local v = select(17, UnitBuff("player", "Ignore Pain"));
  3. if not v then return "" end;
  4. local v2 = {};
  5. for g in string.gmatch(tostring(v):reverse(), "%d?%d?%d?") do
  6. table.insert(v2, 0, g:reverse());
  7. end
  8. return table.concat(v2, ",");
  9. end
Advertisement
Add Comment
Please, Sign In to add comment