17,105
edits
(Improve v1.1 modifier data) |
(_getModifierText: Attempt to workaround issue) |
||
Line 832: | Line 832: | ||
end | end | ||
local valSign = (valueUnsigned and '' or sign) | local valSign = (valueUnsigned and '' or sign or '') | ||
resultText = string.gsub(resultText, '{(V[^}]*)}', function(rule) return valSign .. formatModValue(modMagnitude, rule) end) | resultText = string.gsub(resultText, '{(V[^}]*)}', function(rule) return valSign .. formatModValue(modMagnitude, rule) end) | ||
resultText = string.gsub(resultText, '{S}', sign) | resultText = string.gsub(resultText, '{S}', sign) |