mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: Actively clear stuck records in combat
This commit is contained in:
@@ -38,6 +38,8 @@ class Combat(Combat_, MapEventHandler):
|
||||
fleet_index (int):
|
||||
"""
|
||||
logger.info('Combat preparation.')
|
||||
self.device.stuck_record_clear()
|
||||
self.device.click_record_clear()
|
||||
skip_first_screenshot = True
|
||||
|
||||
# if emotion_reduce:
|
||||
@@ -219,6 +221,8 @@ class Combat(Combat_, MapEventHandler):
|
||||
out: combat status
|
||||
"""
|
||||
logger.info('Auto search combat loading')
|
||||
self.device.stuck_record_clear()
|
||||
self.device.click_record_clear()
|
||||
self.device.screenshot_interval_set('combat')
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
@@ -236,6 +240,7 @@ class Combat(Combat_, MapEventHandler):
|
||||
|
||||
logger.info('Auto Search combat execute')
|
||||
self.submarine_call_reset()
|
||||
self.device.stuck_record_clear()
|
||||
self.device.click_record_clear()
|
||||
submarine_mode = 'do_not_use'
|
||||
if self.config.Submarine_Fleet:
|
||||
|
||||
Reference in New Issue
Block a user