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

Fix: Ash beacon reward has been collected during battle preparation

This commit is contained in:
LmeSzinc
2022-02-11 23:41:23 +08:00
parent 8640e92a89
commit b3da663f2a

View File

@@ -58,9 +58,14 @@ class AshCombat(Combat):
if self.appear_then_click(ASH_START, offset=(30, 30)):
return True
if self.handle_get_items():
return True
if self.appear(BEACON_REWARD):
logger.info("Ash beacon already finished.")
raise AshBeaconFinished
if self.appear(BEACON_EMPTY, offset=(20, 20)):
logger.info("Ash beacon already empty.")
raise AshBeaconFinished
return False