ElEditors, Interface administrators, Administrators
70,975
edits
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 .. damageType] or args[inheritKey .. damageType | local inheritArg = args[prefix .. inheritKey .. damageType] or args[inheritKey .. damageType] | ||
if not tonumber(inheritArg[i]) then | if not tonumber(inheritArg[i]) then | ||
Line 300: | Line 300: | ||
end | end | ||
if inheritArg and inheritArg[i] | if inheritArg and inheritArg[i] then | ||
mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i]) | mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i]) | ||
break | break |