Anonymous

Module:Test: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Tag: Reverted
Line 295: Line 295:
                 for ix, inheritKey in ipairs(argTable) do
                 for ix, inheritKey in ipairs(argTable) do
                     local inheritArg = args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType] or args[prefix .. inheritKey] or args[inheritKey]
                     local inheritArg = args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType] or args[prefix .. inheritKey] or args[inheritKey]
                    if not tonumber(inheritArg[i]) then
                        inheritArg = args[inheritKey .. damageType] or args[prefix .. inheritKey] or args[inheritKey]
                    end


                     if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and
                     if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and