mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Add: BATTLE_STATUS_D withdraw
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user