Skip to content

Commit 8c4087b

Browse files
committed
Hunting more corner cases
MoM with ES when there is ES bypass was not capping effective ES. MoM with life loss prevention was not accounting for the multiplied life effectiveness when reducing pools. Max hit smoothing (for conversion + armour) now uses pool reduction to effectively home in on a precise max hit.
1 parent 93ec108 commit 8c4087b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/System/TestDefence_spec.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ describe("TestDefence", function()
1010
-- boring part
1111
it("no armour max hits", function()
1212
build.configTab.input.enemyIsBoss = "None"
13+
build.configTab:BuildModList()
14+
runCallback("OnFrame")
15+
1316
assert.are.equals(60, build.calcsTab.calcsOutput.PhysicalMaximumHitTaken)
1417
assert.are.equals(38, build.calcsTab.calcsOutput.FireMaximumHitTaken)
1518
assert.are.equals(38, build.calcsTab.calcsOutput.ColdMaximumHitTaken)

0 commit comments

Comments
 (0)