i = 1While i = 1FindPic 0,0,1328,762,"Attachment:\浅打.bmp",0.8,intx,inty//寻找浅打,自行修改坐标If intx > 0 and inty > 0 Then MoveTo intx, intyDelay 200FindPic intx - 50, inty - 80, intx + 110, inty + 130, "Attachment:\灵子.bmp", 0.5, a,b//判断是否为灵子,自行修改坐标Delay 200If a > 0 and b > 0 Then LeftClick 1Delay 200MoveTo 774, 523Delay 500//点确定前的延迟,下同LeftClick 1Delay 200End IfEnd IfFindPic intx+20,0,1328,762,"Attachment:\浅打.bmp",0.9,x,y//寻找浅打,自行修改坐标If x > 0 and y > 0 Then MoveTo x, yDelay 200FindPic x - 50, y - 80, x + 110, y + 130, "Attachment:\灵子.bmp", 0.5, a, b//判断是否为灵子,自行修改坐标Delay 200If a > 0 and b > 0 Then LeftClick 1Delay 200MoveTo 774, 523Delay 500LeftClick 1Delay 200End IfEnd IfFindPic 0,inty+20,1328,762,"Attachment:\浅打.bmp",0.9,x,y//寻找浅打,自行修改坐标If x > 0 and y > 0 Then MoveTo x, yDelay 200FindPic x - 50, y - 80, x + 110, y + 130, "Attachment:\灵子.bmp", 0.5, a, b//判断是否为灵子,自行修改坐标Delay 200If a > 0 and b > 0 Then LeftClick 1Delay 200MoveTo 774, 523Delay 500LeftClick 1End IfEnd IfDelay 200MoveTo 1240, 732//刷新,自行修改坐标Delay 200LeftClick 1Delay 1200Wend
i = 1 While i = 1 FindPic 0,0,1328,762,"Attachment:\浅打.bmp",0.8,intx,inty//寻找浅打,自行修改坐标 If intx > 0 and inty > 0 Then MoveTo intx, intyDelay 200FindPic intx - 50, inty - 80, intx + 110, inty + 130, "Attachment:\灵子.bmp", 0.5, a,b//判断是否为灵子,自行修改坐标 Delay 200 If a > 0 and b > 0 Then LeftClick 1 Delay 200 MoveTo 774, 523 Delay 500//点确定前的延迟,下同 LeftClick 1 Delay 200 End IfEnd If FindPic intx+20,0,1328,762,"Attachment:\浅打.bmp",0.9,x,y//寻找浅打,自行修改坐标 If x > 0 and y > 0 Then MoveTo x, y Delay 200 FindPic x - 50, y - 80, x + 110, y + 130, "Attachment:\灵子.bmp", 0.5, a, b//判断是否为灵子,自行修改坐标Delay 200 If a > 0 and b > 0 Then LeftClick 1 Delay 200 MoveTo 774, 523 Delay 500 LeftClick 1 Delay 200 End If End I fFindPic 0,inty+20,1328,762,"Attachment:\浅打.bmp",0.9,x,y//寻找浅打,自行修改坐标 If x > 0 and y > 0 Then MoveTo x, y Delay 200 FindPic x - 50, y - 80, x + 110, y + 130, "Attachment:\灵子.bmp", 0.5, a, b//判断是否为灵子,自行修改坐标Delay 200 If a > 0 and b > 0 Then LeftClick 1 Delay 200 MoveTo 774, 523 Delay 500 LeftClick 1 End If End If Delay 200 MoveTo 1240, 732//刷新,自行修改坐标 Delay 200 LeftClick 1 Delay 1200 Wend