mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 07:37:19 +08:00
Fix: Retry timer for potato pc
This commit is contained in:
@@ -37,9 +37,9 @@ class MapOperation(MysteryHandler, FleetPreparation, Retirement, FastForwardHand
|
|||||||
mode (str): 'normal' or 'hard' or 'cd'
|
mode (str): 'normal' or 'hard' or 'cd'
|
||||||
"""
|
"""
|
||||||
logger.hr('Enter map')
|
logger.hr('Enter map')
|
||||||
campaign_timer = Timer(2)
|
campaign_timer = Timer(5)
|
||||||
map_timer = Timer(1)
|
map_timer = Timer(5)
|
||||||
fleet_timer = Timer(1)
|
fleet_timer = Timer(5)
|
||||||
checked_in_map = False
|
checked_in_map = False
|
||||||
self.stage_entrance = button
|
self.stage_entrance = button
|
||||||
|
|
||||||
|
|||||||
@@ -215,6 +215,6 @@ class UI(ModuleBase):
|
|||||||
|
|
||||||
self.device.sleep(finish_sleep)
|
self.device.sleep(finish_sleep)
|
||||||
|
|
||||||
def ui_back(self, check_button, appear_button=None, offset=(20, 20), retry_wait=3, skip_first_screenshot=False):
|
def ui_back(self, check_button, appear_button=None, offset=(20, 20), retry_wait=10, skip_first_screenshot=False):
|
||||||
return self.ui_click(click_button=BACK_ARROW, check_button=check_button, appear_button=appear_button,
|
return self.ui_click(click_button=BACK_ARROW, check_button=check_button, appear_button=appear_button,
|
||||||
offset=offset, retry_wait=retry_wait, skip_first_screenshot=skip_first_screenshot)
|
offset=offset, retry_wait=retry_wait, skip_first_screenshot=skip_first_screenshot)
|
||||||
|
|||||||
Reference in New Issue
Block a user