Anonymous

Module:Test: Difference between revisions

From Elwiki
Bot: Automated import of articles *** existing text overwritten ***
(Bot: Automated import of articles *** existing text overwritten ***)
(Bot: Automated import of articles *** existing text overwritten ***)
Line 58: Line 58:
     dmg = 500, 700, 800 (string) -> dmg = { 500, 700, 800 } (table)
     dmg = 500, 700, 800 (string) -> dmg = { 500, 700, 800 } (table)
     --]]
     --]]
     for k, v in ipairs(args) do
     for k, v in pairs(args) do
         -- We don't want passives that contain a comma in their names to be included in this.
         -- We don't want passives that contain a comma in their names to be included in this.
         if not string.find(k, 'passive') and not string.find(k, 'combine') then
         if not string.find(k, 'passive') and not string.find(k, 'combine') then
             args[k] = split(v)
             args[k .. '_table'] = split(v)
         end
         end
     end
     end
ElEditors, Administrators
71,180

edits