1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-16 09:17:22 +08:00

Upd: handle_popup_* signature with custom offset; refactor dirty patches

Upd: SHOP_BUY_CONFIRM_VOUCHER to handle_popup_confirm for server transparency
This commit is contained in:
nEEtdo0d
2022-12-02 16:32:39 -05:00
parent 3543020c9c
commit 96cb4aa4e1
6 changed files with 15 additions and 15 deletions

View File

@@ -166,7 +166,7 @@ class VoucherShop(ShopClerk):
self.shop_buy_amount_execute(item)
self.interval_reset(SHOP_BUY_CONFIRM_AMOUNT)
return True
if self.appear_then_click(SHOP_BUY_CONFIRM_VOUCHER, offset=(20, 20), interval=3):
if self.handle_popup_confirm(name='SHOP_BUY_VOUCHER', offset=(20, 50)):
return True
return False