Share Pastebin
Guest
Public paste!

Jules

By: a guest | Feb 9th, 2010 | Syntax: Lua | Size: 0.35 KB | Hits: 71 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. function mantisCureAfflictions()
  2.         for k,v in pairs(mantisBalanceFlags) do
  3.                 if mantisBalanceFlags.v then
  4.                         for affliction,cure in pairs(mantisAfflictionPriorities) do
  5.                                 if type == "string" then
  6.                                         send(cure)
  7.                                 elseif type == "table" then
  8.                                         for affliction,cure in ipairs(cure) do
  9.                                                 send(v.cure)
  10.                                         end
  11.                                 end
  12.                         end
  13.                 end
  14.         end
  15. end