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

Add: BATTLE_STATUS_D withdraw

This commit is contained in:
2024-08-10 12:24:57 +08:00
parent 13fa321c9f
commit c8e686a642
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ class AutoSearchCombat(MapOperation, Combat, CampaignStatus):
self.device.screenshot_interval_set()
break
if self.appear(BATTLE_STATUS_D) or self.appear(EXP_INFO_D) \
or self.appear(OPTS_INFO_D) or timer >= 3:
or self.appear(OPTS_INFO_D) or timer >= 10:
self._withdraw = True
self.device.sleep(2)
self.device.click(OPTS_INFO_D)

View File

@@ -72,7 +72,7 @@ class Device(Screenshot, Control, AppControl, Input):
detect_record = set()
click_record = collections.deque(maxlen=15)
stuck_timer = Timer(60, count=60).start()
stuck_timer_long = Timer(185, count=185).start()
stuck_timer_long = Timer(195, count=195).start()
stuck_long_wait_list = ['BATTLE_STATUS_S', 'PAUSE', 'LOGIN_CHECK']
def __init__(self, *args, **kwargs):