mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-26 02:25:03 +08:00
Fix: expand search area of BOX_USE to handle box amount < 5
This commit is contained in:
@@ -208,7 +208,7 @@ class StorageHandler(StorageUI):
|
|||||||
if self._storage_in_material(interval=5):
|
if self._storage_in_material(interval=5):
|
||||||
self.device.click(button)
|
self.device.click(button)
|
||||||
continue
|
continue
|
||||||
if self.appear_then_click(BOX_USE, offset=(20, 20), interval=5):
|
if self.appear_then_click(BOX_USE, offset=(-330, -20, 20, 20), interval=5):
|
||||||
self.interval_reset(MATERIAL_CHECK)
|
self.interval_reset(MATERIAL_CHECK)
|
||||||
continue
|
continue
|
||||||
if self.appear(GET_ITEMS_1, offset=(5, 5), interval=5):
|
if self.appear(GET_ITEMS_1, offset=(5, 5), interval=5):
|
||||||
|
|||||||
Reference in New Issue
Block a user