Module:Test: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 294: Line 294:


                 for ix, inheritKey in ipairs(argTable) do
                 for ix, inheritKey in ipairs(argTable) do
                     local inheritArg = args[prefix .. inheritKey] or args[inheritKey]
                     -- local inheritArg = args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType] or args[prefix .. inheritKey] or args[inheritKey]
                    local inheritArg = args[prefix .. inheritKey] or args[inheritKey] or args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType]


                     if inheritArg and inheritArg[i] and
                     if inheritArg and inheritArg[i] and