mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-28 13:48:08 +08:00
Fix: IN_STAGE detect when map detection goes wrong
This commit is contained in:
@@ -91,7 +91,7 @@ class Camera(InfoHandler):
|
|||||||
logger.info('Perspective error cause by info bar. Waiting.')
|
logger.info('Perspective error cause by info bar. Waiting.')
|
||||||
self.handle_info_bar()
|
self.handle_info_bar()
|
||||||
return self.update(camera=camera)
|
return self.update(camera=camera)
|
||||||
elif self.appear(IN_STAGE):
|
elif self.appear(IN_STAGE, offset=(5, 5)):
|
||||||
logger.warning('Image is in stage')
|
logger.warning('Image is in stage')
|
||||||
raise CampaignEnd('Image is in stage')
|
raise CampaignEnd('Image is in stage')
|
||||||
elif not self.appear(IN_MAP):
|
elif not self.appear(IN_MAP):
|
||||||
|
|||||||
Reference in New Issue
Block a user