From 199e8a042f18e92e26f1f4f516f04ecbf1e3e047 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Sun, 2 Jan 2022 01:01:04 +0800 Subject: [PATCH] Fix: Wider search area of SHOP_BUY_CONFIRM because it's at the bottom in core shop --- module/shop/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/shop/base.py b/module/shop/base.py index d7774c7aa..316f3c0a4 100644 --- a/module/shop/base.py +++ b/module/shop/base.py @@ -289,7 +289,7 @@ class ShopBase(UI): if self.appear(BACK_ARROW, offset=(20, 20), interval=3): self.device.click(item) continue - if self.appear_then_click(SHOP_BUY_CONFIRM, offset=(20, 20), interval=3): + if self.appear_then_click(SHOP_BUY_CONFIRM, offset=(100, 200), interval=3): self.interval_reset(BACK_ARROW) continue if self.shop_buy_handle(item, key):