1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-06-23 05:16:54 +08:00

Fix: handle low emotion combat withdraw after sinking

This commit is contained in:
2026-06-21 02:40:44 +08:00
parent b69311d96b
commit 784a871514
3 changed files with 22 additions and 9 deletions

View File

@@ -487,8 +487,10 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
return False
def handle_exp_info(self):
def handle_exp_info(self, handle_fail=False):
"""
Args:
handle_fail (bool): if handle EXP_INFO_C and EXP_INFO_D
Returns:
bool:
"""
@@ -503,6 +505,13 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
if self.appear_then_click(EXP_INFO_B):
self.device.sleep((0.25, 0.5))
return True
if handle_fail:
if self.appear_then_click(EXP_INFO_C):
self.device.sleep((0.25, 0.5))
return True
if self.appear_then_click(EXP_INFO_D):
self.device.sleep((0.25, 0.5))
return True
return False