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

Fix: Meta sync tap

This commit is contained in:
dragonheart107
2025-06-15 05:20:34 +02:00
parent 4e7e2444d5
commit 6accfdeba0

View File

@@ -82,6 +82,8 @@ class BeaconReward(Combat, UI):
""" """
if self.appear(SYNC_REWARD_NOTICE, threshold=30, interval=interval): if self.appear(SYNC_REWARD_NOTICE, threshold=30, interval=interval):
return True return True
elif self.appear(SYNC_TAP, threshold=30, interval=interval):
return True
else: else:
return False return False
@@ -126,8 +128,8 @@ class BeaconReward(Combat, UI):
if self.handle_get_ship(): if self.handle_get_ship():
received = True received = True
continue continue
if self.meta_sync_notice_appear(interval=3): if self.appear(SYNC_REWARD_NOTICE, threshold=30, interval=3):
logger.info(f'meta_sync_notice_appear -> {SYNC_ENTER}') logger.info(f'sync reward notice appear -> {SYNC_ENTER}')
self.device.click(SYNC_ENTER) self.device.click(SYNC_ENTER)
received = True received = True
continue continue
@@ -181,10 +183,10 @@ class BeaconReward(Combat, UI):
# Sync rewards # Sync rewards
# "sync" is the period that you gather meta points to 100% and get a meta ship # "sync" is the period that you gather meta points to 100% and get a meta ship
if self.meta_sync_notice_appear(): if self.meta_sync_notice_appear():
logger.info('Found meta sync red dot') logger.info('Found meta sync red dot or sync tap')
self.meta_sync_receive() self.meta_sync_receive()
else: else:
logger.info('No meta sync red dot') logger.info('No meta sync red dot or sync tap')
# Meta rewards # Meta rewards
if self.meta_reward_notice_appear(): if self.meta_reward_notice_appear():