1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 02:48:23 +08:00

Merge branch 'master' into dev

This commit is contained in:
LmeSzinc
2020-07-15 04:38:51 +08:00
2 changed files with 94 additions and 94 deletions

View File

@@ -488,7 +488,7 @@ class RewardCommission(UI, InfoHandler):
comm (Commission):
"""
logger.info(f'Start commission {comm}')
comm_timer = Timer(3)
comm_timer = Timer(10)
while 1:
if comm_timer.reached():
self.device.click(comm.button)
@@ -497,10 +497,10 @@ class RewardCommission(UI, InfoHandler):
if self.handle_popup_confirm():
comm_timer.reset()
pass
if self.appear_then_click(COMMISSION_START, interval=3):
if self.appear_then_click(COMMISSION_ADVICE, interval=3):
comm_timer.reset()
pass
if self.appear_then_click(COMMISSION_ADVICE, interval=3):
if self.appear_then_click(COMMISSION_START, interval=3):
comm_timer.reset()
pass