1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 14:27:00 +08:00

Fix: inverse condition can exit prematurely without reward collect; change to image_color_count

Fix: expected_end default bool on return
This commit is contained in:
nEEtdo0d
2022-11-13 21:06:56 -05:00
parent 1b9ee1f070
commit 8cdb71d711
2 changed files with 6 additions and 3 deletions

View File

@@ -134,6 +134,8 @@ class OpsiAshBeacon(Meta):
logger.info('Meta combat finished and in correct page.')
return True
return False
# Attack
combat = AshCombat(config=self.config, device=self.device)
combat.combat(expected_end=expected_end, save_get_items=False, emotion_reduce=False)
@@ -458,6 +460,8 @@ class AshBeaconAssist(Meta):
logger.info('Meta combat finished and in correct page.')
return True
return False
# Attack
combat = AshCombat(config=self.config, device=self.device)
combat.combat(expected_end=expected_end, save_get_items=False, emotion_reduce=False)