From 9abdfd862bdc9dc6849e6eb45cd8af82d1da0f17 Mon Sep 17 00:00:00 2001 From: W1NDes Date: Wed, 19 Feb 2025 00:44:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(retire):=20=E8=B0=83=E6=95=B4=E8=A3=85?= =?UTF-8?q?=E5=A4=87=E7=A1=AE=E8=AE=A4=E6=8C=89=E9=92=AE=E7=9A=84=E5=81=8F?= =?UTF-8?q?=E7=A7=BB=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 减小 EQUIP_CONFIRM_2 按钮的点击偏移量,防止在唯一保护窗口陷入三按钮点击死循环 --- module/retire/retirement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/retire/retirement.py b/module/retire/retirement.py index 511eab249..b4275097d 100644 --- a/module/retire/retirement.py +++ b/module/retire/retirement.py @@ -138,7 +138,7 @@ class Retirement(Enhancement, QuickRetireSettingHandler): if self.appear_then_click(EQUIP_CONFIRM, offset=(30, 30), interval=2): executed = True continue - if self.appear_then_click(EQUIP_CONFIRM_2, offset=(30, 30), interval=2): + if self.appear_then_click(EQUIP_CONFIRM_2, offset=(10, 10), interval=2): self.interval_clear(GET_ITEMS_1) continue # Get items