diff --git a/eid_modifiers.lua b/eid_modifiers.lua index 6f5bd673..fa59acba 100644 --- a/eid_modifiers.lua +++ b/eid_modifiers.lua @@ -232,7 +232,10 @@ local game = Game() descObj.Description = string.gsub(descObj.Description, "%d*%.?%d+", function(s) if (s == tostring(v) and count == 0) then count = count + 1 - if v == 33 and (multiplier == 1.5 or multiplier == 3) then v = (1/3)*100 end -- convert 33% to 50% or 100% + if v == 17 then + if multiplier == 2 then v = 16.5 + elseif multipler == 3 then v = (1/6)*100 end -- convert 17% to 33% or 50% + elseif v == 33 and (multiplier == 1.5 or multiplier == 3) then v = (1/3)*100 end -- convert 33% to 50% or 100% return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{ColorText}}" end end)