Goto 金属系1 ElseIf gj2=7 Goto 五毒系1 ElseIf gj2=8 Goto 元素系1 ElseIf gj2=9 Goto 木魔系1 Else Goto stat EndIf Rem 天空系1 Delay 10 VBSCall FindPic(355,17,600,80,"Attachment:\天空系1024.bmp",0.9,x,y) //区域找图 0,0,1024,768为区域范围 "神盾.bmp"为图片名(路径) 0.9为找图的相似度 x,y为找到图片后的坐标变量 If x>=0 and y>=0 Delay 10 //天空系 aa=5 Delay 10 Goto 攻击 ElseIf gj2=1 Goto 人形系1 ElseIf gj2=2 Goto 妖兽系1 ElseIf gj2=3 Goto 幽冥系1 ElseIf gj2=4 Goto 鳞皇系1 ElseIf gj2=6 Goto 金属系1 ElseIf gj2=7 Goto 五毒系1 ElseIf gj2=8 Goto 元素系1 ElseIf gj2=9 Goto 木魔系1 Else Goto stat EndIf Rem 金属系1 Delay 10 VBSCall FindPic(355,17,600,80,"Attachment:\金属系1024.bmp",0.9,x,y) //区域找图 0,0,1024,768为区域范围 "神盾.bmp"为图片名(路径) 0.9为找图的相似度 x,y为找到图片后的坐标变量 If x>=0 and y>=0 //金属系 Delay 10 aa=6 Delay 10 Goto 攻击 ElseIf gj2=1 Goto 人形系1 ElseIf gj2=2 Goto 妖兽系1 ElseIf gj2=3 Goto 幽冥系1 ElseIf gj2=4 Goto 鳞皇系1 ElseIf gj2=5 Goto 天空系1 ElseIf gj2=7 Goto 五毒系1 ElseIf gj2=8 Goto 元素系1 ElseIf gj2=9 Goto 木魔系1 Else Goto stat EndIf Rem 五毒系1 Delay 10 VBSCall FindPic(355,17,600,80,"Attachment:\五毒系1024.bmp",0.9,x,y) //区域找图 0,0,1024,768为区域范围 "神盾.bmp"为图片名(路径) 0.9为找图的相似度 x,y为找到图片后的坐标变量 If x>=0 and y>=0 Delay 10 //五毒系 aa=7 Delay 10 Goto 攻击 ElseIf gj2=1 Goto 人形系1 ElseIf gj2=2 Goto 妖兽系1 ElseIf gj2=3 Goto 幽冥系1 ElseIf gj2=4 Goto 鳞皇系1 ElseIf gj2=5 Goto 天空系1 ElseIf gj2=6 Goto 金属系1 ElseIf gj2=8 Goto 元素系1 ElseIf gj2=9 Goto 木魔系1 Else Goto stat EndIf Rem 元素系1 Delay 10 VBSCall FindPic(355,17,600,80,"Attachment:\元素系1024.bmp",0.9,x,y)