mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 03:39:16 +08:00
Fix: Allow exercise combat ends without end conditions detected (#640)
This commit is contained in:
@@ -96,8 +96,10 @@ class ExerciseCombat(HpDaemon, OpponentChoose, ExerciseEquipment):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# End
|
# 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')
|
logger.hr('Combat end')
|
||||||
|
if not end:
|
||||||
|
logger.warning('Combat ended without end conditions detected')
|
||||||
break
|
break
|
||||||
|
|
||||||
return success
|
return success
|
||||||
|
|||||||
Reference in New Issue
Block a user