Устранить нагрузочные флаки финальной матрицы
This commit is contained in:
@@ -17,7 +17,8 @@ final class LateLevelScenarios {
|
||||
LevelPlaytestBot.Input.rightJump(),
|
||||
snapshot -> snapshot.playerX() >= 640f)
|
||||
.step("Stand on the frozen block", 2_500L, LevelPlaytestBot.Input.none(),
|
||||
snapshot -> snapshot.playerX() >= 626f
|
||||
snapshot -> snapshot.playerOnGround()
|
||||
&& snapshot.playerX() >= 626f
|
||||
&& snapshot.playerY() >= 668f
|
||||
&& snapshot.playerY() <= 690f)
|
||||
.step("Land on the first ledge from the frozen block", 3_000L,
|
||||
@@ -277,7 +278,8 @@ final class LateLevelScenarios {
|
||||
&& (snapshot.playerOnMovingPlatform()
|
||||
|| (snapshot.playerY() >= 770f
|
||||
&& !Float.isNaN(snapshot.firstMovingPlatformY())
|
||||
&& snapshot.firstMovingPlatformY() >= 780f)))
|
||||
&& snapshot.firstMovingPlatformY() >= 750f
|
||||
&& snapshot.firstMovingPlatformMovingDown())))
|
||||
.step("Take off toward the moving lift", 1_000L,
|
||||
LevelPlaytestBot.Input.rightJump(),
|
||||
snapshot -> snapshot.playerAlive()
|
||||
@@ -285,7 +287,8 @@ final class LateLevelScenarios {
|
||||
|| snapshot.playerY() <= 670f))
|
||||
.step("Board the moving lift", 2_000L,
|
||||
LevelPlaytestBot.Input.right(),
|
||||
GameView.AutomationSnapshot::playerOnMovingPlatform)
|
||||
LevelPlaytestBot.whileDeathsAtMost(3,
|
||||
GameView.AutomationSnapshot::playerOnMovingPlatform))
|
||||
.step("Brake toward the lift center", 1_000L,
|
||||
LevelPlaytestBot.Input.left(),
|
||||
snapshot -> snapshot.playerOnMovingPlatform()
|
||||
|
||||
Reference in New Issue
Block a user