3,124
edits
(getItemUpgradeTable: Refactor) |
(Updated for changes in Constants, getModifierDetails) |
||
Line 384: | Line 384: | ||
local modDetail = {} | local modDetail = {} | ||
for i, modName in pairs(modsDL) do | for i, modName in pairs(modsDL) do | ||
local mName, mText | local mName, mText, mIsNeg, mModifyValue = Constants.getModifierDetails(modName) | ||
modDetail[modName] = { mult = ( | modDetail[modName] = { mult = (mIsNeg == false and 1 or -1) } | ||
end | end | ||