MaXwEllDeN

Untitled

Apr 22nd, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. function getSpellAttributes(name)
  2.     local atts = {"instantName", "words", "lvl", "mana", "prem", "exhaustion", "groups", "icon", "needlearn", "vocations",}
  3.     local att = {}
  4.     for _, v in pairs(atts) do
  5.         att[v] = getSpellAttribute(name, v)
  6.     end
  7.  
  8.     return att
  9. end
  10.  
  11.  
  12. for i, v in pairs(getSpellAttributes("Mass Healing")) do
  13.     print(i .." = ".. v)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment