ElseIf xl4 = 4 Then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 280)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Delay 500
ElseIf xl4 = 5 Then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 300)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Else
End If
Delay 800
End Sub
Sub 武将训练5
Delay 1000
If xl5 = 1 then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 220)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Delay 500
ElseIf xl5 = 2 Then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 240)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Delay 500
ElseIf xl5 = 3 Then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 260)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Delay 500
ElseIf xl5 = 4 Then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 280)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Delay 500
ElseIf xl5 = 5 Then
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 300)
Delay 1200
Call Plugin.Bkgnd.LeftClick(Hwnd, 730, 415)
Else
End If
Delay 800
End Sub
//武将突飞
Sub 武将突飞
Delay 1000
//突飞武将
If tufei = 1
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 220)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 700, 470)
Delay 1000
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 810, 110)
Delay 500
ElseIf tufei = 2
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 240)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 700, 470)
Delay 1000
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 810, 110)
Delay 500
ElseIf tufei = 3
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 260)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 700, 470)
Delay 1000
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 810, 110)
Delay 500
ElseIf tufei = 4
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 280)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 700, 470)
Delay 1000
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 810, 110)
Delay 500
ElseIf tufei = 5
Call Plugin.Bkgnd.LeftClick(Hwnd, 320, 300)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 700, 470)
Delay 1000
Call Plugin.Bkgnd.KeyPress(Hwnd, 13)
Delay 500
Call Plugin.Bkgnd.LeftClick(Hwnd, 810, 110)
Delay 500
ElseIf tufei = 0
Call Plugin.Bkgnd.LeftClick(Hwnd, 810, 110)
Delay 1000
Else
End If