Skip to content

Commit

Permalink
干员名扫描范围缩小+基建TODO 只点击一次
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawnsdaddy committed Nov 11, 2024
1 parent 3ea6d23 commit 54a0e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arknights_mower/solvers/base_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -1747,7 +1747,7 @@ def todo_list(self) -> None:
self.tap(pos)
tapped = True
tap_times += 1
if tap_times > 5:
if tap_times > 0:
break
if not tapped:
# 点击右上角的通知图标
Expand Down
2 changes: 1 addition & 1 deletion arknights_mower/utils/character_recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def operator_list(img, draw=False):
name_y = ((488, 520), (909, 941))
line1 = cropimg(img, tuple(zip((600, 1920), name_y[0])))
line1 = cropimg(img, tuple(zip((600, 1860), name_y[0])))
hsv = cv2.cvtColor(line1, cv2.COLOR_RGB2HSV)
mask = cv2.inRange(hsv, (98, 140, 200), (102, 255, 255))
line1 = cv2.cvtColor(line1, cv2.COLOR_RGB2GRAY)
Expand Down

0 comments on commit 54a0e81

Please sign in to comment.