mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-16 17:15:45 +08:00
Fix: Detection on unfinished OS daily
This commit is contained in:
@@ -139,8 +139,7 @@ class MissionHandler(GlobeOperation, ZoneManager):
|
|||||||
"""
|
"""
|
||||||
self.os_mission_enter()
|
self.os_mission_enter()
|
||||||
|
|
||||||
if not self.appear(MISSION_CHECKOUT, offset=(20, 20)) \
|
if not (self.appear(MISSION_CHECKOUT, offset=(20, 20)) and MISSION_CHECKOUT.match_appear_on(self.device.image)):
|
||||||
and MISSION_CHECKOUT.match_appear_on(self.device.image):
|
|
||||||
# If not having enough items to claim a mission,
|
# If not having enough items to claim a mission,
|
||||||
# there will still be MISSION_CHECKOUT, but button is transparent.
|
# there will still be MISSION_CHECKOUT, but button is transparent.
|
||||||
# So here needs to use both template matching and color detection.
|
# So here needs to use both template matching and color detection.
|
||||||
|
|||||||
Reference in New Issue
Block a user