Fix tincture quality rounding issue (#8874)
This commit is contained in:
@@ -1558,7 +1558,9 @@ function calcs.perform(env, skipEHP)
|
||||
if item.rarity == "MAGIC" then
|
||||
tinctureEffectInc = tinctureEffectInc + effectIncMagic
|
||||
end
|
||||
local effectMod = (1 + (tinctureEffectInc) / 100) * (1 + (item.quality or 0) / 100)
|
||||
-- Compute tincture effect multiplier.
|
||||
-- Tincture effect multiplier is rounded to 2 decimal places before applying it.
|
||||
local effectMod = math.floor((1 + (tinctureEffectInc) / 100) * (1 + (item.quality or 0) / 100) * 100) / 100
|
||||
|
||||
-- same deal as flasks, go look at the comment there
|
||||
if buffModList[1] then
|
||||
|
||||
Reference in New Issue
Block a user