4,685
edits
(Removed unnecessary comment) |
No edit summary |
||
Line 91: | Line 91: | ||
prefix = string.sub(baseName, 1, 9) | prefix = string.sub(baseName, 1, 9) | ||
end | end | ||
local modVal = {1, 5} | if modList[baseName] == nil then | ||
local modVal = {1, 5} | |||
local mult = modDet.multiplier | local mult = modDet.multiplier | ||
if mult ~= nil then | if mult ~= nil then | ||
modVal = {modVal[1] * mult, modVal[2] * mult} | modVal = {modVal[1] * mult, modVal[2] * mult} | ||
end | end | ||
modText = Constants._getModifierText(modDet.key, modVal, false) | modText = Constants._getModifierText(modDet.key, modVal, false) | ||
modList[baseName] = {modText, ["ord"] = i, ["mods"] = 1} | modList[baseName] = {modText, ["ord"] = i, ["mods"] = 1} |