ElEditors, Interface administrators, Administrators
70,975
edits
No edit summary Tag: Manual revert |
No edit summary |
||
Line 294: | Line 294: | ||
for ix, inheritKey in ipairs(argTable) do | for ix, inheritKey in ipairs(argTable) do | ||
local inheritArg = | local inheritArg = args[prefix .. inheritKey] or args[inheritKey] | ||
if inheritArg and inheritArg[i] | if inheritArg and inheritArg[i] and | ||
(damageTypeIndex == 1 and ix ~= 1 or damageTypeIndex ~= 1) and tonumber(inheritArg[i]) | (damageTypeIndex == 1 and ix ~= 1 or damageTypeIndex ~= 1) and tonumber(inheritArg[i]) | ||
then | then |