Skip to content

Commit

Permalink
线索数量为10时,无法领取每日线索
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Oct 18, 2023
1 parent 48b6d61 commit 35f9d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def infra_main(self):
self.planned = True
elif not self.todo_task:
get_update_time()
if self.party_time is None and self.enable_party:
if (self.party_time is None or self.free_clue is None) and self.enable_party:
self.clue()
if self.clue_count > self.clue_count_limit and self.enable_party:
self.share_clue()
Expand Down Expand Up @@ -1080,7 +1080,7 @@ def clue(self) -> None:
self.tap((self.recog.w - 10, self.recog.h - 10), interval=3, rebuild=False)
self.tap((self.recog.w * 0.05, self.recog.h * 0.95), interval=3)

if self.free_clue is None:
if self.free_clue is None and self.clue_count < 10 and self.clue_count != -1:
logger.info('领取会客室线索')
self.tap(((x0 + x1) // 2, (y0 * 5 - y1) // 4), interval=3)
obtain = self.find('clue_obtain')
Expand Down

0 comments on commit 35f9d64

Please sign in to comment.