mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-16 05:49:04 +08:00
Fix: Error caused by empty build queue (#2816)
* Fix: Error caused by empty build queue * feat: add BUILD_QUEUE_EMPTY assets * fix: use image_color_count() for identify images * chore: remove useless asset * fix: Avoid info_bar and use appear() --------- Co-authored-by: LmeSzinc <lmeszincsales@gmail.com> Co-authored-by: SaarChaffee <saarchaffee@qq.com>
This commit is contained in:
@@ -203,6 +203,10 @@ class RewardGacha(GachaUI, GeneralShop, Retirement):
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear(BUILD_QUEUE_EMPTY, offset=(20, 20)):
|
||||
self.gacha_side_navbar_ensure(upper=1)
|
||||
break
|
||||
|
||||
if self.appear_then_click(BUILD_FINISH_ORDERS, interval=3):
|
||||
confirm_timer.reset()
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user