Стабилизировать проходы пилы уровня 10

This commit is contained in:
2026-08-18 17:32:01 +03:00
parent 650bfb3533
commit da3777b4cc
3 changed files with 79 additions and 9 deletions
@@ -122,13 +122,19 @@ final class LateLevelScenarios {
snapshot -> snapshot.playerAlive() && snapshot.playerX() < 250f)
.step("Approach the launch saw", 2_500L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerX() >= 350f)
LevelPlaytestBot.whileDeathsAtMost(1,
LevelPlaytestBot.groundedAliveAtOrBeyond(280f)))
.step("Take off before the launch saw", 1_000L,
LevelPlaytestBot.Input.rightJump(),
snapshot -> snapshot.playerAlive() && snapshot.playerY() <= 680f)
LevelPlaytestBot.whileDeathsAtMost(1,
snapshot -> snapshot.playerAlive()
&& !snapshot.playerOnGround()
&& snapshot.playerY() <= 680f))
.step("Clear the launch saw", 2_000L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerAlive() && snapshot.playerX() >= 680f)
LevelPlaytestBot.whileDeathsAtMost(1,
snapshot -> snapshot.playerAlive()
&& snapshot.playerX() >= 680f))
.step("Approach the delivered lift body", 1_500L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerX() >= 730f)
@@ -143,13 +149,19 @@ final class LateLevelScenarios {
snapshot -> snapshot.playerAlive() && snapshot.playerX() < 250f)
.step("Return to the launch saw", 2_500L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerX() >= 350f)
LevelPlaytestBot.whileDeathsAtMost(2,
LevelPlaytestBot.groundedAliveAtOrBeyond(280f)))
.step("Take off before the saw again", 1_000L,
LevelPlaytestBot.Input.rightJump(),
snapshot -> snapshot.playerAlive() && snapshot.playerY() <= 680f)
LevelPlaytestBot.whileDeathsAtMost(2,
snapshot -> snapshot.playerAlive()
&& !snapshot.playerOnGround()
&& snapshot.playerY() <= 680f))
.step("Clear the saw again", 2_000L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerAlive() && snapshot.playerX() >= 680f)
LevelPlaytestBot.whileDeathsAtMost(2,
snapshot -> snapshot.playerAlive()
&& snapshot.playerX() >= 680f))
.step("Approach the lift body again", 1_500L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerX() >= 730f)
@@ -190,13 +202,19 @@ final class LateLevelScenarios {
snapshot -> snapshot.playerAlive() && snapshot.playerX() < 250f)
.step("Approach the saw for the final crossing", 2_500L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerX() >= 350f)
LevelPlaytestBot.whileDeathsAtMost(3,
LevelPlaytestBot.groundedAliveAtOrBeyond(280f)))
.step("Take off for the final saw crossing", 1_000L,
LevelPlaytestBot.Input.rightJump(),
snapshot -> snapshot.playerAlive() && snapshot.playerY() <= 680f)
LevelPlaytestBot.whileDeathsAtMost(3,
snapshot -> snapshot.playerAlive()
&& !snapshot.playerOnGround()
&& snapshot.playerY() <= 680f))
.step("Clear the saw for the final crossing", 2_000L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerAlive() && snapshot.playerX() >= 680f)
LevelPlaytestBot.whileDeathsAtMost(3,
snapshot -> snapshot.playerAlive()
&& snapshot.playerX() >= 680f))
.step("Approach the retained lift body", 1_500L,
LevelPlaytestBot.Input.right(),
snapshot -> snapshot.playerX() >= 730f)