//
Return
////////////////////////////////////////////////////////
Sub 面版消失检测
//如果没有面版就调用记录好的坐标,点NPC
Delay 10
VBSCall FindColorEx(140,40,140,40,"63a2bd",1,0.8,x,y)
If x>0 and y>0
Else
Delay 10
MoveTo a,b
Delay 30
LeftClick 2
Delay 500
EndIf
//如果记录的坐标也点不出面版的话,那就重新找NPC啦
Delay 10
VBSCall FindColorEx(140,40,140,40,"63a2bd",1,0.8,x,y)
If x>0 and y>0
Else
Goto 查找NPC
EndIf
Return
Sub 小地图检查
Rem 开小地图
//找洛字的颜色,并点击
Delay 100
VBSCall FindPic(700,30,735,55,"Attachment:\洛1.bmp",0.9,x,y)
If x>0 and y>0
Goto 找到地图
//找到就
EndIf
//
Delay 100
VBSCall FindPic(700,30,735,55,"Attachment:\洛2.bmp",0.9,x,y)
If x>0 and y>0
Goto 找到地图
//找到就
Else
//找不到就按TAB
Delay 100
KeyPress 9,1
Delay 200
Goto 开小地图
EndIf
Rem 找到地图
//
Return
Sub 检测地图
Delay 20
VBSCall FindPic(700,30,735,55,"Attachment:\洛1.bmp",0.9,x,y)
If x>0 and y>0
d=1
//找到就
EndIf
//
Delay 20
VBSCall FindPic(700,30,735,55,"Attachment:\洛2.bmp",0.9,x,y)
If x>0 and y>0
d=1
//找到就
EndIf
//
Return