From d394f385a7bf3070722f5583a6037b8f342e0c6f Mon Sep 17 00:00:00 2001 From: 1204244136 <1204244136@qq.com> Date: Sun, 20 Apr 2025 22:25:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8A=80=E5=9C=BA=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DoroHelper.ahk | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/DoroHelper.ahk b/DoroHelper.ahk index 328c36a..7c697ed 100644 --- a/DoroHelper.ahk +++ b/DoroHelper.ahk @@ -15,7 +15,7 @@ stdScreenH := 2160 waitTolerance := 50 colorTolerance := 15 -currentVersion := "v0.1.21" +currentVersion := "v0.1.22" usr := "kyokakawaii" repo := "DoroHelper" @@ -1934,7 +1934,8 @@ SimulationRoom() ;============================================================= ;7: 新人竞技场打第三位,顺带收50%以上的菜 -RookieArena(times) { +RookieArena(times) +{ ;进入方舟 stdTargetX := 2689 stdTargetY := 1463 @@ -1992,11 +1993,11 @@ RookieArena(times) { UserClick(stdTargetX, stdTargetY, scrRatio) Sleep sleepTime - stdCkptX := [1683] - stdCkptY := [606] - desiredColor := ["0xF7FCFE"] + stdCkptX := [1641] + stdCkptY := [324] + desiredColor := ["0x01D4F6"] - while !UserCheckColor(stdCkptX, stdCkptY, desiredColor, scrRatio) { + while UserCheckColor(stdCkptX, stdCkptY, desiredColor, scrRatio) { UserClick(stdTargetX, stdTargetY, scrRatio) Sleep sleepTime if A_Index > waitTolerance { @@ -2005,6 +2006,20 @@ RookieArena(times) { } } + + stdCkptX := [1683] + stdCkptY := [606] + desiredColor := ["0xF7FCFE"] + + while !UserCheckColor(stdCkptX, stdCkptY, desiredColor, scrRatio) { + Sleep sleepTime + if A_Index > waitTolerance { + MsgBox "进入竞技场失败!" + ExitApp + } + } + + ;进入新人竞技场 stdTargetX := 1647 stdTargetY := 1164 @@ -2041,7 +2056,7 @@ RookieArena(times) { return } - + if A_Index > waitTolerance { MsgBox "进入新人竞技场失败!" ExitApp