Skip to content

Commit

Permalink
Add delay to battle exit for Ordeal Call FQ (#1728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKun21 authored Dec 31, 2023
1 parent afdad9c commit 61183a7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,15 @@ class AutoBattle @Inject constructor(
// Count the current run
state.nextRun()

2.seconds.wait()
val isBlackScreen = locations.npStartedRegion.isBlack()
if (isBlackScreen){
locations.menuScreenRegion.exists(
images[Images.Menu],
similarity = 0.7,
timeout = 15.seconds
)
}
throw BattleExitException(ExitReason.StormPodRanOut)
}

Expand Down

0 comments on commit 61183a7

Please sign in to comment.