ElEditors, Interface administrators, Administrators
70,868
edits
No edit summary |
No edit summary |
||
Line 297: | Line 297: | ||
if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and | if inheritArg and inheritArg[i] and inheritArg[i] ~= '' and | ||
(damageTypeIndex == 1 and ix ~= 1 or damageTypeIndex ~= 1) | (damageTypeIndex == 1 and ix ~= 1 or damageTypeIndex ~= 1) and tonumber(inheritArg[i]) | ||
then | then | ||
mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i]) | mainArgValues[i] = applyInheritance(mainArgValues, inheritArg, mainArgValue, inheritArg[i]) |