1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

FIx: Not click MEOWFFICER_FEED_CONFIRM

Do MEOWFFICER_FEED.ocr first after  click feed button
This commit is contained in:
weeswelai 2023-11-18 19:18:49 +08:00
parent 237e491ef4
commit e0c819f3d1

View File

@ -136,16 +136,16 @@ class MeowfficerEnhance(MeowfficerBase):
else:
self.device.screenshot()
# Scan for feed, exit if none
buttons = self.meow_feed_scan()
if not len(buttons):
break
# Exit if maximum clicked
current, remain, total = MEOWFFICER_FEED.ocr(self.device.image)
if not remain:
break
# Scan for feed, exit if none
buttons = self.meow_feed_scan()
if not len(buttons):
break
# Else click each button to
# apply green check mark
# Sleep for stable image