mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-25 11:18:14 +08:00
Fix: shop infrastructure update; update currency call
This commit is contained in:
@@ -276,7 +276,7 @@ class RewardGacha(GachaUI, GeneralShop, Retirement):
|
|||||||
self.gacha_flush_queue()
|
self.gacha_flush_queue()
|
||||||
|
|
||||||
# OCR Gold and Cubes
|
# OCR Gold and Cubes
|
||||||
self.shop_get_currency(key='general')
|
self.shop_currency()
|
||||||
self.build_cube_count = OCR_BUILD_CUBE_COUNT.ocr(self.device.image)
|
self.build_cube_count = OCR_BUILD_CUBE_COUNT.ocr(self.device.image)
|
||||||
|
|
||||||
# Transition to appropriate target construction pool
|
# Transition to appropriate target construction pool
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class RewardShipyard(ShipyardUI, GeneralShop):
|
|||||||
# Retrieve information from page_main instead
|
# Retrieve information from page_main instead
|
||||||
if not self.ui_page_appear(page_main):
|
if not self.ui_page_appear(page_main):
|
||||||
self.ui_goto_main()
|
self.ui_goto_main()
|
||||||
self.shop_get_currency(key='general')
|
self.shop_currency()
|
||||||
|
|
||||||
self.ui_ensure(page_shipyard)
|
self.ui_ensure(page_shipyard)
|
||||||
if not self.shipyard_set_focus(series=series, index=index) \
|
if not self.shipyard_set_focus(series=series, index=index) \
|
||||||
|
|||||||
Reference in New Issue
Block a user