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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user