mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Fix: Actively clear stuck records in combat
This commit is contained in:
@@ -99,6 +99,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
fleet_index (int):
|
||||
"""
|
||||
logger.info('Combat preparation.')
|
||||
self.device.stuck_record_clear()
|
||||
self.device.click_record_clear()
|
||||
skip_first_screenshot = True
|
||||
interval_set = False
|
||||
|
||||
@@ -225,6 +227,7 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
self.submarine_call_reset()
|
||||
self.combat_auto_reset()
|
||||
self.combat_manual_reset()
|
||||
self.device.stuck_record_clear()
|
||||
self.device.click_record_clear()
|
||||
confirm_timer = Timer(10)
|
||||
confirm_timer.start()
|
||||
@@ -401,6 +404,8 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
||||
"""
|
||||
logger.info('Combat status')
|
||||
logger.attr('expected_end', expected_end.__name__ if callable(expected_end) else expected_end)
|
||||
self.device.stuck_record_clear()
|
||||
self.device.click_record_clear()
|
||||
battle_status = False
|
||||
exp_info = False # This is for the white screen bug in game
|
||||
while 1:
|
||||
|
||||
Reference in New Issue
Block a user