mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 16:57:20 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -91,7 +91,9 @@ class ShopUI(UI):
|
|||||||
if self.image_color_count(SHOP_REFRESH.button, color=(54, 117, 161), threshold=221, count=50):
|
if self.image_color_count(SHOP_REFRESH.button, color=(54, 117, 161), threshold=221, count=50):
|
||||||
self.device.click(SHOP_REFRESH)
|
self.device.click(SHOP_REFRESH)
|
||||||
continue
|
continue
|
||||||
# not available: (52, 74, 94)
|
if self.image_color_count(SHOP_REFRESH.button, color=(52, 74, 94), threshold=221, count=50):
|
||||||
|
logger.info('Refresh not available')
|
||||||
|
break
|
||||||
# no `continue`, act like SHOP_REFRESH not matched
|
# no `continue`, act like SHOP_REFRESH not matched
|
||||||
self.interval_clear(SHOP_REFRESH)
|
self.interval_clear(SHOP_REFRESH)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user