Skip to content

Commit bbbb17e

Browse files
committed
FIX: Disaplying reservation efficiency as a float multiplier rounded to two decimal places is more consistant with how other stats work.
1 parent 7f6e079 commit bbbb17e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/CalcPerform.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ function calcs.perform(env, avoidCache)
15851585
mult = mult ~= 1 and ("x "..mult),
15861586
more = values.more ~= 1 and ("x "..values.more),
15871587
inc = values.inc ~= 0 and ("x "..(1 + values.inc / 100)),
1588-
efficiency = values.efficiency ~= 0 and (round(10000 / (100 + values.efficiency), 2) .. "%"),
1588+
efficiency = values.efficiency ~= 0 and ("x " .. round(100 / (100 + values.efficiency), 2)),
15891589
total = values.reservedFlat,
15901590
})
15911591
end
@@ -1601,7 +1601,7 @@ function calcs.perform(env, avoidCache)
16011601
mult = mult ~= 1 and ("x "..mult),
16021602
more = values.more ~= 1 and ("x "..values.more),
16031603
inc = values.inc ~= 0 and ("x "..(1 + values.inc / 100)),
1604-
efficiency = values.efficiency ~= 0 and (round(10000 / (100 + values.efficiency), 2) .. "%"),
1604+
efficiency = values.efficiency ~= 0 and ("x " .. round(100 / (100 + values.efficiency), 2)),
16051605
total = values.reservedPercent .. "%",
16061606
})
16071607
end

0 commit comments

Comments
 (0)