LeftClick 6
Delay 2000
Else
MoveTo intx9 + 5, inty9 + 50
Delay 1000
Goto 继续按M前往卖垃圾
End If
Rem 继续取消M前往卖垃圾
KeyPress "M", 1
Delay 500
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\美服区域地图.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
Goto 继续取消M前往卖垃圾
End If
Delay Var5
Rem 继续寻找实物旅行商人
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\37武器.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intx + 10, inty + 45
Delay 1000
RightClick 1
Delay 1000
Else
KeyPress "X", 1
Delay 1000
KeyDown "D", 1
Delay 300
KeyUp "D", 1
Delay 100
Goto 继续寻找实物旅行商人
End If
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\商店.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
Else
KeyPress "X", 1
Delay 1000
KeyDown "D", 1
Delay 300
KeyUp "D", 1
Delay 100
Goto 继续寻找实物旅行商人
End If
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\商店卖垃圾按键.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intx + 5, inty + 5
Delay 1000
LeftClick 3
Delay 1000
End If
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\修理装备.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
MoveTo intx + 5, inty + 5
Delay 1000
LeftClick 3
Delay 1000
End If
Rem 继续关闭商店
KeyPress "Esc", 1
Delay 500
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\商店.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
Goto 继续关闭商店
End If
Call 判断是否需召唤猎虎()
Call 调整背包位置()
Call 卖完垃圾返回杀怪点()
End Sub
//==========================================================================================================
// 判断背包是否满并卖垃圾05
//==========================================================================================================
Sub 判断背包是否满并卖垃圾
Rem 继续打开背包判断是否需卖垃圾
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\美服背包.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
Else
KeyPress "B", 1
Delay 500
Goto 继续打开背包判断是否需卖垃圾
End If
FindPic 200, 100, 1200, 900, "C:\Program Files\mf\4格空背包.bmp", 0.9, intX, intY
If intX > 0 And intY > 0 Then
Else
Call 卖垃圾()
End If
End Sub
//==========================================================================================================
// 卖完垃圾返回杀怪点09