mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 23:23:44 +08:00
Fix: Handle popup confirm in opsi shop buy
This commit is contained in:
@@ -50,6 +50,9 @@ class OSShop(PortShop, AkashiShop):
|
|||||||
self.interval_reset(SHOP_BUY_CONFIRM_AMOUNT)
|
self.interval_reset(SHOP_BUY_CONFIRM_AMOUNT)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if self.handle_popup_confirm('SHOP_BUY'):
|
||||||
|
continue
|
||||||
|
|
||||||
if not success and self.appear(PORT_SUPPLY_CHECK, offset=(20, 20), interval=5):
|
if not success and self.appear(PORT_SUPPLY_CHECK, offset=(20, 20), interval=5):
|
||||||
self.device.click(button)
|
self.device.click(button)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user