//在屏幕上讀數字
if ReadNumberEx(DigitImgs, Color(30, 30, 30), WinX0+129, WinY0+639, WinX0+191, WinY0+651, true, rednumber) then
if CNum(rednumber)<=red then
keypress("-")
wait(300)
print("HP量"& red & "使用HP*1")
end if
end if
和
if ReadNumberEx(DigitImgs, Color(30, 30, 30), WinX0+129, WinY0+639, WinX0+191, WinY0+651, true, red1number) then
if CNum(red1number)<=red1 then
wait(300)
keypress("x")
wait(300)
print("HP量量坐下"& red1 & "HP量量坐下")
qq()
wait(300)
if not CheckColor(WinX0+247, WinY0+647, Color(109, 23, 42), 10) then
wait(300)
KeyPress("x")
do
wait(300)
loop until CheckColor(WinX0+249, WinY0+647, Color(105, 16, 34), 10)
end if
end if
end if
這些紅色要怎麼抓 哪位能教我 謝謝 |