1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-10 02:34:51 +00:00

fix(task): check all claimed

This commit is contained in:
2023-12-23 16:21:46 +08:00
parent 694d88a339
commit 8ccb3d3d22
4 changed files with 26 additions and 1 deletions
+4 -1
View File
@@ -4,6 +4,7 @@ from tasks.base.page import page_task
from tasks.base.ui import UI
from tasks.task.assets.assets_task import *
class Task(UI):
def run(self):
self.ui_ensure(page_task)
@@ -22,6 +23,8 @@ class Task(UI):
self.device.click(CLAIM)
logger.info("Click Claim")
continue
break
if self.match_color(CLAIMED) and self.match_color(CLAIMED_ALL):
logger.info("All claimed")
break
self.config.task_delay(minute=120)