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

Upd: button_extract for island assets

This commit is contained in:
sui-feng-cb
2026-01-19 03:13:51 +08:00
parent 1eb4d01d88
commit 7d93c956c9
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: