2,875
edits
m (Fix typo) |
m (Add rounding) |
||
Line 28: | Line 28: | ||
local canUseRoW = eco.ringOfWealthHasEffect(pChance, dChance, eChance) | local canUseRoW = eco.ringOfWealthHasEffect(pChance, dChance, eChance) | ||
return estimatedOutput, canUseRoW | return math.floor(estimatedOutput), canUseRoW | ||
end | end | ||
Line 40: | Line 40: | ||
local rowModifier = eco.estimatedInput(1, pChance - 3, dChance + 7, eChance) | local rowModifier = eco.estimatedInput(1, pChance - 3, dChance + 7, eChance) | ||
return estimatedInput, rowModifier > baseModifier | return math.ceil(estimatedInput), rowModifier > baseModifier | ||
end | end | ||
edits