From a50c00755cf8a0e7de8e1c1f34c6525261479f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=A5=E4=B8=80=E4=B8=80?= <1204244136@qq.com> Date: Sun, 25 May 2025 11:49:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=8D=8F?= =?UTF-8?q?=E5=90=8C=E4=BD=9C=E6=88=98=E5=8D=A1=E6=AD=BB=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DoroHelper.ahk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DoroHelper.ahk b/DoroHelper.ahk index e1d6b73..c36908c 100644 --- a/DoroHelper.ahk +++ b/DoroHelper.ahk @@ -2392,7 +2392,7 @@ Cooperate() { stdTargetY := 257 UserMove(stdTargetX, stdTargetY, scrRatio) Text := "|*40$40.00000Q000001U00000A000001U00000A000001U00000A000001U00000A000003U000Dzw00E0zzU0303zw00Q0C0003k0s000T03U003w0C000Tk0s003z03U00Tw0C003zk0s00Tz03U03zw0Dzzzzk0zzzzz03zzzzw0Dzzzzk0zzzzz03zzzzw0Dzzzzk0zzzzz03zzzzw0Dzzzzk0zzzzz03zzzzw0Dzzzzs" - loop 20 { + while true { if (ok := FindText(&X, &Y, NikkeX, NikkeY, NikkeX + NikkeW, NikkeY + NikkeH, 0.1 * PicTolerance, 0.1 * PicTolerance, Text, , 0, , , , , TrueRatio, TrueRatio)) { Sleep sleepTime FindText().Click(X, Y, "L") @@ -2403,7 +2403,7 @@ Cooperate() { Send "{WheelDown 7}" Sleep sleepTime } - if (A_Index > 20) { + if (A_Index > 15) { AddLog("未能找到协同作战") return }