Anonymous

Module:Test: Difference between revisions

From Elwiki
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 295: Line 295:
                     local inheritArg = args[prefix .. inheritKey .. damageType] or args[inheritKey] or args[prefix .. inheritKey .. damageType] or args[inheritKey]
                     local inheritArg = args[prefix .. inheritKey .. damageType] or args[inheritKey] or args[prefix .. inheritKey .. damageType] or args[inheritKey]


                     if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and
                     if inheritArg and inheritArg[i] and type(inheritArg[i]) ~= "string" and
                         (damageTypeIndex == 1 and ix ~= 1 or damageTypeIndex ~= 1)
                         (damageTypeIndex == 1 and ix ~= 1 or damageTypeIndex ~= 1)
                     then
                     then