1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-16 20:10:29 +08:00
This commit is contained in:
positnuec
2026-08-14 02:04:50 +08:00
441 changed files with 12687 additions and 729 deletions

View File

@@ -557,11 +557,18 @@ class InfoHandler(ModuleBase):
"""
Wait until manjuu loading disappear.
"""
# Abuse of notation. Template do not have readable name, so add string here.
self.device.stuck_record_add('TEMPLATE_MANJUU')
timer = Timer(1.5, count=3).start()
while 1:
self.device.screenshot()
if not self.manjuu_count():
break
if self.manjuu_count():
timer.reset()
else:
if timer.reached():
logger.info(f'Manjuu disappeared')
break
def handle_manjuu(self):
"""
Handle manjuu loading.