Fix: Handle character died (#317)

This commit is contained in:
LmeSzinc 2024-02-24 00:44:56 +08:00
parent 7820756321
commit 14e3a9a73a

View File

@ -265,8 +265,12 @@ class Combat(CombatInteract, CombatPrepare, CombatState, CombatTeam, CombatSuppo
self.device.click(COMBAT_EXIT)
self.interval_reset(COMBAT_AGAIN)
continue
# Dropped light cone from weekly
if self.handle_get_light_cone():
continue
# Having any character died
if self.handle_popup_confirm():
continue
def combat_exit(self, skip_first_screenshot=True):
"""