1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-21 06:45:34 +08:00

Upd: button_extract for island assets

This commit is contained in:
2026-01-19 03:13:51 +08:00
parent d1e163baa0
commit 728c1873bd
2 changed files with 10 additions and 10 deletions

View File

@@ -612,8 +612,8 @@ class IslandProjectRun(IslandUI):
continue
button = PROJECT_START
timer_offset = {'cn':100, 'en':60}[server.server]
self.appear(button, offset=(timer_offset, 0))
# the offset of OCR_PRODUCTION_TIME is determined by PROJECT_START
self.appear(button, offset=(100, 0))
offset = tuple(np.subtract(button.button, button._button)[:2])
product = IslandProduct(self.device.image, new=True, offset=offset)
if product == last: