Skip to content

Commit

Permalink
handing war chest during handle_clash_main_tab_notifications()
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmiglio committed Mar 12, 2024
1 parent cda049a commit ecf1248
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pyclashbot/bot/nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,13 @@ def handle_clash_main_tab_notifications(
# click clan tab from shop tab
print("Clicked clan tab")
click(vm_index, 315, 594)
time.sleep(5)
time.sleep(3)

if check_for_war_chest_obstruction(vm_index):
open_war_chest_obstruction(vm_index, logger)
logger.add_war_chest_collect()
print(f"Incremented war chest collects to {logger.war_chest_collects}")
time.sleep(3)

# click events tab from clan tab
print("Getting to events tab...")
Expand Down

0 comments on commit ecf1248

Please sign in to comment.