From d34dbf60c7d8e268a14776e0151c4114d0ed117f Mon Sep 17 00:00:00 2001 From: Shawnsdaddy Date: Fri, 6 Dec 2024 12:26:55 -0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=B8=85=E9=99=A4=E9=82=AE?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- arknights_mower/solvers/mail.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arknights_mower/solvers/mail.py b/arknights_mower/solvers/mail.py index 690afc38..ea9db2d2 100644 --- a/arknights_mower/solvers/mail.py +++ b/arknights_mower/solvers/mail.py @@ -6,7 +6,6 @@ class MailSolver(SceneGraphSolver): def run(self) -> None: self.touched = False - logger.info("Start: 领取邮件") super().run() @@ -16,6 +15,9 @@ def transition(self) -> bool: return True self.touched = True self.tap_element("read_mail") + self.sleep(0.25) + # 清除已读邮件 + self.tap((1340, 1000)) elif scene in self.waiting_scene: self.waiting_solver() else: