Module:Damage: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 294: Line 294:


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


                     if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and ix ~= 1 then
                     if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and ix ~= 1 then