mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 00:55:56 +08:00
Fix: Ash beacon reward has been collected during battle preparation
This commit is contained in:
@@ -58,9 +58,14 @@ class AshCombat(Combat):
|
|||||||
|
|
||||||
if self.appear_then_click(ASH_START, offset=(30, 30)):
|
if self.appear_then_click(ASH_START, offset=(30, 30)):
|
||||||
return True
|
return True
|
||||||
|
if self.handle_get_items():
|
||||||
|
return True
|
||||||
if self.appear(BEACON_REWARD):
|
if self.appear(BEACON_REWARD):
|
||||||
logger.info("Ash beacon already finished.")
|
logger.info("Ash beacon already finished.")
|
||||||
raise AshBeaconFinished
|
raise AshBeaconFinished
|
||||||
|
if self.appear(BEACON_EMPTY, offset=(20, 20)):
|
||||||
|
logger.info("Ash beacon already empty.")
|
||||||
|
raise AshBeaconFinished
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user