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:
parent
2524df3cf5
commit
3a6593a3ad
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user