Skip to content

Commit

Permalink
fix 720p
Browse files Browse the repository at this point in the history
  • Loading branch information
mackerel-12138 committed Jun 9, 2023
1 parent dfb650f commit 053160e
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AutoPcr_py/AutoPcr4.0.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ def OnAutoTask():
# IsHasImg('img/task/menu.png')
if (IsHasImg('img/task/skip.png')):
# 蓝色按钮
WaitToClickImg('img/task/skipBtn.png')
WaitToClickImg('img/button/skip_.png')
else:
# 出现选项时
if (IsHasImg("img/task/menu_black.png", False, isRgb=True)):
Expand All @@ -1414,13 +1414,13 @@ def OnAutoTask():
time.sleep(0.6)
menuNofindTime = menuNofindTime + 1

IsHasImg('img/task/skipBtn.png')
IsHasImg('img/button/skip_.png')
IsHasImg('img/task/noSound.png')
else:
menuNofindTime = 0

if (menuNofindTime > 1):
if ((1 - IsHasImg('img/task/skipBtn.png'))):
if ((1 - IsHasImg('img/button/skip_.png'))):
if (IsHasImg("img/main/fight.png", False)):
logger.info("任务结束")
return
Expand Down
Binary file added AutoPcr_py/img/button/skip_.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AutoPcr_py/img/task/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AutoPcr_py/img/task/noSound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AutoPcr_py/img/task/skip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 053160e

Please sign in to comment.