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

Fix: Re-check all timeout timer

- Fix tactical class get stuck when skill level reach to max.
This commit is contained in:
LmeSzinc
2020-06-03 05:06:51 +08:00
parent 9353ae1707
commit 30e11c6caf
7 changed files with 18 additions and 16 deletions

View File

@@ -110,8 +110,7 @@ class InfoHandler(ModuleBase):
def ensure_no_story(self, skip_first_screenshot=True):
logger.info('Ensure no story')
story_timer = Timer(5, count=4)
story_timer.start()
story_timer = Timer(5, count=10).start()
while 1:
if skip_first_screenshot:
skip_first_screenshot = False

View File

@@ -9,7 +9,7 @@ class LoginHandler(Combat):
def handle_app_login(self):
logger.hr('App login')
confirm_timer = Timer(1.5, count=4)
confirm_timer = Timer(1.5, count=4).start()
while 1:
self.device.screenshot()