Rem 打 FindPic 0,0,1024,768,"Attachment:\错.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "Num 5", 1 Delay 50 End If FindPic 0,0,1024,768,"Attachment:\定.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "Num 5", 1 Delay 50 End If FindPic 0,0,1024,768,"Attachment:\登陆2.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "Num 5", 1 Delay 500 End If FindPic 0,0,1024,768,"Attachment:\选择.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "Num 5", 1 Delay 500 KeyPress "Num 5", 1 Delay 500 End If //上面是不要改是自动掉线登陆 GetColor=GetPixelColor(110,139) If GetColor="3F32A5" Then KeyPress "Num 0", 1 Delay 500 End If GetColor=GetPixelColor(400,350) If GetColor="80BEB2" Then KeyPress "Num 9", 1 Delay 500 KeyPress "Num 1", 1 Delay 500 KeyPress "Num 5", 1 Delay 500 End If //上面为技能和逃走回血 FindPic 210,90,680,680,"Attachment:\取消.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "F2", 1 Delay 50 End If FindPic 210,90,680,680,"Attachment:\x.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "F2", 1 Delay 50 End If FindPic 939,281,977,318,"Attachment:\修.bmp",0.5,intX,intY If intX > 0 And intY > 0 Then KeyPress "Num 7", 1 Delay 50 KeyPress "Num 0", 1 Delay 50 KeyPress "Num 3", 1 Delay 50 End If //上面为不能改动 GetColor=GetPixelColor(583,671) If GetColor="3F32A5" KeyPress "F2", 1 Delay 2000 End If FindPic 0,0,1024,768,"Attachment:\高级.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then MoveTo intx+1,inty+1 Delay 500 LeftClick 1 Delay 500 KeyPress "Enter", 1 Delay 500 End If //宝宝掉血多高级血 GetColor=GetPixelColor(367,338) If GetColor="484B60" Then KeyPress "F2", 1 Delay 510 End If FindPic 530,600,570,700,"Attachment:\宠.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then KeyPress "F2", 1 Delay 510 KeyPress "Enter", 1 Delay 510 End If //宝宝吃饲料要放第一位饲料 FindPic 677,400,756,450,"Attachment:\老.bmp",0.9,intX,intY If intX > 0 And intY > 0 Then MoveTo 780,650 Delay 50 LeftClick 1 Delay 3000 MoveTo 780,650 Delay 50 LeftClick 1 Delay 3000 MoveTo 590,580 Delay 50 LeftClick 1