Skip to content

Commit

Permalink
Improve bench_occupied_check and encounter round shop delay
Browse files Browse the repository at this point in the history
Avoid detecting green champion on board as health bar, and right click on empty slot to check unknown champion
  • Loading branch information
anthony5301 authored Mar 30, 2024
1 parent ed656f8 commit 4140904
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arena.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,9 @@ def spend_gold(self, speedy=False) -> None:

# For set 11 encounter round shop delay and choose items popup
for _ in range(15):
print("checking shop == blank")
if speedy:
return
if all(champ[1] == "" for champ in shop):
print("shop == blank")
sleep(1)
anvil_msg: str = ocr.get_text(
screenxy=screen_coords.ANVIL_MSG_POS.get_coords(),
Expand Down

0 comments on commit 4140904

Please sign in to comment.