1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-06-18 08:45:41 +08:00

Upd: button_extract for island assets

This commit is contained in:
2026-01-19 03:13:51 +08:00
parent e5ce328af2
commit 55d6a316e6
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: