Skip to content

Commit

Permalink
自动清除邮件
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Dec 6, 2024
1 parent 9d298ce commit d34dbf6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arknights_mower/solvers/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
class MailSolver(SceneGraphSolver):
def run(self) -> None:
self.touched = False

logger.info("Start: 领取邮件")
super().run()

Expand All @@ -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:
Expand Down

0 comments on commit d34dbf6

Please sign in to comment.