mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Opt: Combine dock filter operations to skip waiting dock loaded
This commit is contained in:
@@ -606,12 +606,12 @@ class RewardTacticalClass(Dock):
|
||||
def select_suitable_ship(self):
|
||||
logger.hr(f'Select suitable ship')
|
||||
|
||||
# Set if favorite from config
|
||||
self.dock_favourite_set(enable=self.config.AddNewStudent_Favorite, wait_loading=False)
|
||||
|
||||
# reset filter
|
||||
self.dock_filter_set()
|
||||
|
||||
# Set if favorite from config
|
||||
self.dock_favourite_set(enable=self.config.AddNewStudent_Favorite)
|
||||
|
||||
# No ship in dock
|
||||
if self.appear(DOCK_EMPTY, offset=(30, 30)):
|
||||
logger.info('Dock is empty or favorite ships is empty')
|
||||
|
||||
Reference in New Issue
Block a user