mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: TooManyClickError when selecting equipments
This commit is contained in:
parent
d90e73286f
commit
bf856760a3
@ -212,6 +212,7 @@ class StorageHandler(StorageUI):
|
||||
if item.amount <= 0:
|
||||
continue
|
||||
self.device.click(item)
|
||||
self.device.click_record.pop()
|
||||
if total >= amount:
|
||||
break
|
||||
|
||||
|
||||
@ -118,9 +118,11 @@ class StorageUI(UI):
|
||||
self.interval_clear(STORAGE_CHECK)
|
||||
|
||||
def _equipment_filter_enter(self):
|
||||
self.interval_clear(EQUIPMENT_FILTER)
|
||||
self.ui_click(EQUIPMENT_FILTER, check_button=EQUIPMENT_FILTER_CONFIRM, skip_first_screenshot=True)
|
||||
|
||||
def _equipment_filter_confirm(self):
|
||||
self.interval_clear(EQUIPMENT_FILTER_CONFIRM)
|
||||
self.ui_click(EQUIPMENT_FILTER_CONFIRM, check_button=STORAGE_CHECK, skip_first_screenshot=True)
|
||||
self._wait_until_storage_stable()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user