diff --git a/src/pyclashbot/bot/deck_randomization.py b/src/pyclashbot/bot/deck_randomization.py index f5433f813..28fb70c30 100644 --- a/src/pyclashbot/bot/deck_randomization.py +++ b/src/pyclashbot/bot/deck_randomization.py @@ -149,7 +149,7 @@ def randomize_deck(vm_index: int, logger: Logger) -> bool: return False # click on deck 2 - logger.change_status("Deleting deck 2...") + logger.change_status("Randomizing deck 2...") click(vm_index, 109, 123) # click on deck options @@ -167,7 +167,7 @@ def randomize_deck(vm_index: int, logger: Logger) -> bool: # click OK print("Clicking OK") click(vm_index, 283, 387) - time.sleep(0.33) + time.sleep(1.33) else: print("Doing the regular method for deck randomization") diff --git a/src/pyclashbot/bot/nav.py b/src/pyclashbot/bot/nav.py index 5cdeaff0d..3a92c99c9 100644 --- a/src/pyclashbot/bot/nav.py +++ b/src/pyclashbot/bot/nav.py @@ -1001,13 +1001,16 @@ def check_if_on_card_page(vm_index) -> bool: ] colors = [ - [150, 62, 4], - [165, 75, 2], + [168, 76, 3], + [83, 32, 1], [255, 238, 230], - [232, 0, 248], - [214, 2, 226], + [173, 92, 1], + [178, 96, 1], ] + # for p in pixels: + # print(p) + for i, p in enumerate(pixels): if not pixel_is_equal(colors[i], p, tol=15): return False