Anonymous

Module:Test: Difference between revisions

From Elwiki
30 bytes removed ,  10 October 2023
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 296: Line 296:
                     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 inheritArg and inheritArg[i] and inheritArg[i] ~= '' and (ix ~= 1 or (damageType and ix == 1)) then
                     if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and ix ~= 1 then
                         mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i])
                         mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i])
                         break
                         break