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

Opt: Faster retirement, including click interval clear and less screenshots

- Rename dock_filter_set_faster to dock_filter_set and remove old dock_filter_set
This commit is contained in:
LmeSzinc
2021-11-21 16:24:26 +08:00
parent 2cbd473bc5
commit 1e3cdd4c38
6 changed files with 66 additions and 104 deletions

View File

@@ -57,9 +57,9 @@ class Enhancement(Dock):
# self.dock_filter_confirm()
if ship_type is not None:
ship_type = str(ship_type)
self.dock_filter_set_faster(extra='enhanceable', index=ship_type)
self.dock_filter_set(extra='enhanceable', index=ship_type)
else:
self.dock_filter_set_faster(extra='enhanceable')
self.dock_filter_set(extra='enhanceable')
if self.appear(DOCK_EMPTY, offset=(30, 30)):
return False
@@ -79,7 +79,7 @@ class Enhancement(Dock):
# self.dock_filter_set(category='extra', filter_type='no_limit', enable=True)
# self.dock_filter_set(category='index', filter_type='all', enable=True)
# self.dock_filter_confirm()
self.dock_filter_set_faster()
self.dock_filter_set()
def _enhance_confirm(self, skip_first_screenshot=True):
"""