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

Fix: Lower the threshold of DORM_INFO to 0.75

This commit is contained in:
LmeSzinc
2022-04-14 00:46:36 +08:00
parent dda16cf16a
commit a21fce7788

View File

@@ -350,7 +350,8 @@ class UI(InfoHandler):
return True
# Dorm popup
if self.appear_then_click(DORM_INFO, offset=(30, 30), interval=3):
if self.appear(DORM_INFO, offset=(30, 30), threshold=0.75, interval=3):
self.device.click(DORM_INFO)
return True
if self.appear_then_click(DORM_FEED_CANCEL, offset=(30, 30), interval=3):
return True