mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-02 03:44:08 +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()
|
self.device.screenshot_interval_set()
|
||||||
break
|
break
|
||||||
if self.appear(BATTLE_STATUS_D) or self.appear(EXP_INFO_D) \
|
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._withdraw = True
|
||||||
self.device.sleep(2)
|
self.device.sleep(2)
|
||||||
self.device.click(OPTS_INFO_D)
|
self.device.click(OPTS_INFO_D)
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class Device(Screenshot, Control, AppControl, Input):
|
|||||||
detect_record = set()
|
detect_record = set()
|
||||||
click_record = collections.deque(maxlen=15)
|
click_record = collections.deque(maxlen=15)
|
||||||
stuck_timer = Timer(60, count=60).start()
|
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']
|
stuck_long_wait_list = ['BATTLE_STATUS_S', 'PAUSE', 'LOGIN_CHECK']
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
|
|||||||
Reference in New Issue
Block a user