Delay 10
//鳞皇系
aa=4
Delay 10
Goto 攻击
Else
Goto stat
EndIf
Rem 天空系
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 攻击
Else
Goto stat
EndIf
Rem 金属系
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 攻击
Else
Goto stat
EndIf
Rem 五毒系
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 攻击
Else
Goto stat
EndIf
Rem 元素系
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=8
Delay 10
Goto 攻击
Else
Goto stat
EndIf
Rem 木魔系
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=9
Delay 10
Goto 攻击
Else
Goto stat
EndIf
Return 匹配2
Sub 匹配3
If gj1=1
Goto 人形系1
ElseIf gj1=2
Goto 妖兽系1
ElseIf gj1=3
Goto 幽冥系1
ElseIf gj1=4
Goto 鳞皇系1
ElseIf gj1=5
Goto 天空系1
ElseIf gj1=6
Goto 金属系1
ElseIf gj1=7
Goto 五毒系1
ElseIf gj1=8
Goto 元素系1
ElseIf gj1=9
Goto 木魔系1
EndIf
Rem 人形系1
Delay 100
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