mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-18 06:47:19 +08:00
Fix: Increase retry interval in commission start for slow device
This commit is contained in:
@@ -489,7 +489,7 @@ class RewardCommission(UI, InfoHandler):
|
|||||||
comm (Commission):
|
comm (Commission):
|
||||||
"""
|
"""
|
||||||
logger.info(f'Start commission {comm}')
|
logger.info(f'Start commission {comm}')
|
||||||
comm_timer = Timer(3)
|
comm_timer = Timer(10)
|
||||||
while 1:
|
while 1:
|
||||||
if comm_timer.reached():
|
if comm_timer.reached():
|
||||||
self.device.click(comm.button)
|
self.device.click(comm.button)
|
||||||
@@ -498,10 +498,10 @@ class RewardCommission(UI, InfoHandler):
|
|||||||
if self.handle_popup_confirm():
|
if self.handle_popup_confirm():
|
||||||
comm_timer.reset()
|
comm_timer.reset()
|
||||||
pass
|
pass
|
||||||
if self.appear_then_click(COMMISSION_START, interval=3):
|
if self.appear_then_click(COMMISSION_ADVICE, interval=3):
|
||||||
comm_timer.reset()
|
comm_timer.reset()
|
||||||
pass
|
pass
|
||||||
if self.appear_then_click(COMMISSION_ADVICE, interval=3):
|
if self.appear_then_click(COMMISSION_START, interval=3):
|
||||||
comm_timer.reset()
|
comm_timer.reset()
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user