mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 20:39:05 +08:00
Fix: Lower SHIP_LEVEL_CHECK similarity to 0.7 to handle random background
This commit is contained in:
@@ -87,7 +87,7 @@ class Awaken(Dock):
|
|||||||
return self.appear_then_click(AWAKEN_FINISH, offset=(20, 20), interval=1)
|
return self.appear_then_click(AWAKEN_FINISH, offset=(20, 20), interval=1)
|
||||||
|
|
||||||
def is_in_awaken(self):
|
def is_in_awaken(self):
|
||||||
return SHIP_LEVEL_CHECK.match_luma(self.device.image)
|
return SHIP_LEVEL_CHECK.match_luma(self.device.image, similarity=0.7)
|
||||||
|
|
||||||
def awaken_popup_close(self, skip_first_screenshot=True):
|
def awaken_popup_close(self, skip_first_screenshot=True):
|
||||||
logger.info('Awaken popup close')
|
logger.info('Awaken popup close')
|
||||||
|
|||||||
Reference in New Issue
Block a user