v0.1.17.3

修复日常领取的bug
This commit is contained in:
知一一 2024-11-20 00:12:57 +08:00 committed by GitHub
parent 6c9c12e48e
commit db82c5967f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -18,7 +18,7 @@ stdScreenH := 2160
waitTolerance := 50 waitTolerance := 50
colorTolerance := 15 colorTolerance := 15
currentVersion := "v0.1.17.2" currentVersion := "v0.1.17.3"
usr := "kyokakawaii" usr := "kyokakawaii"
repo := "DoroHelper" repo := "DoroHelper"
@ -3312,16 +3312,15 @@ Mission()
ExitApp ExitApp
} }
} }
stdTargetX := 2286 stdTargetX := 2286
stdTargetY := 1935 stdTargetY := 1935
x0 := 1512 ;用于遍历任务 x0 := 1512 ;用于遍历任务
y0 := 395 y0 := 395
Sleep sleepTime
while UserCheckColor([1365,2087], [1872,1997], ["0xF5F5F5", "0xF5F5F5"], scrRatio) { ;检测是否在任务界面 while UserCheckColor([1365,2087], [1872,1997], ["0xF5F5F5", "0xF5F5F5"], scrRatio) { ;检测是否在任务界面
Sleep sleepTime Sleep sleepTime
UserClick(x0, y0, scrRatio) ;点任务标题 UserClick(x0, y0, scrRatio) ;点任务标题
Sleep sleepTime
if !UserCheckColor([1365,2087], [1872,1997], ["0xF5F5F5", "0xF5F5F5"], scrRatio) { ;退出 if !UserCheckColor([1365,2087], [1872,1997], ["0xF5F5F5", "0xF5F5F5"], scrRatio) { ;退出
break break
} }