ElEditors, Interface administrators, Administrators
70,868
edits
No edit summary |
No edit summary |
||
Line 297: | Line 297: | ||
-- Basic damage/hits inheritance request detected. Ignore min/max. | -- Basic damage/hits inheritance request detected. Ignore min/max. | ||
if mainKey == argTable[#argTable] then | if mainKey:gsub(damageType, "") == argTable[#argTable] then | ||
inheritArg = args[prefix .. inheritKey] or args[inheritKey] | inheritArg = args[prefix .. inheritKey] or args[inheritKey] | ||
end | end |