perf: 检测自动爆裂流程优化
This commit is contained in:
parent
7e6c73367f
commit
602698dbd5
|
@ -1489,11 +1489,10 @@ BattleSettlement(Screenshot := false) {
|
||||||
checkend := 0
|
checkend := 0
|
||||||
checkred := 0
|
checkred := 0
|
||||||
AddLog("等待战斗结算")
|
AddLog("等待战斗结算")
|
||||||
|
Sleep 10000
|
||||||
|
; 检测自动战斗和爆裂
|
||||||
|
CheckAuto
|
||||||
while true {
|
while true {
|
||||||
; 检测自动战斗和爆裂
|
|
||||||
if (A_Index = 20) {
|
|
||||||
CheckAuto
|
|
||||||
}
|
|
||||||
if (ok := FindText(&X, &Y, NikkeX, NikkeY, NikkeX + NikkeW, NikkeY + NikkeH, 0.2 * PicTolerance, 0.2 * PicTolerance, FindText().PicLib("TAB的图标"), , 0, , , , , TrueRatio, TrueRatio)) {
|
if (ok := FindText(&X, &Y, NikkeX, NikkeY, NikkeX + NikkeW, NikkeY + NikkeH, 0.2 * PicTolerance, 0.2 * PicTolerance, FindText().PicLib("TAB的图标"), , 0, , , , , TrueRatio, TrueRatio)) {
|
||||||
checkend := checkend + 1
|
checkend := checkend + 1
|
||||||
;AddLog("TAB已命中,共" checkend "次")
|
;AddLog("TAB已命中,共" checkend "次")
|
||||||
|
|
Loading…
Reference in New Issue