1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 03:58:22 +08:00

Fix: Lower SHIP_LEVEL_CHECK similarity to 0.7 to handle random background

This commit is contained in:
LmeSzinc
2025-03-17 00:24:46 +08:00
parent b151c4292b
commit 93e7e94bec

View File

@@ -87,7 +87,7 @@ class Awaken(Dock):
return self.appear_then_click(AWAKEN_FINISH, offset=(20, 20), interval=1)
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):
logger.info('Awaken popup close')