1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: Allow exercise combat ends without end conditions detected (#640)

This commit is contained in:
LmeSzinc 2021-10-11 12:16:39 +08:00
parent 2524df3cf5
commit 3a6593a3ad

View File

@ -96,8 +96,10 @@ class ExerciseCombat(HpDaemon, OpponentChoose, ExerciseEquipment):
continue
# End
if end and self._in_exercise() or self.appear(BATTLE_PREPARATION):
if self._in_exercise() or self.appear(BATTLE_PREPARATION, offset=(20, 20)):
logger.hr('Combat end')
if not end:
logger.warning('Combat ended without end conditions detected')
break
return success