EndIf
EndIf
EndIf
Return
Sub 跟随4
VBSCall FindColorEx(503,13,570,31,"ff0080",1,0.8,x,y)
If x>0 and y>0
Delay 32
If GenSui=1
KeyPress 113,1
Gosub 跟随队长3
Else
If GenSui=2
KeyPress 114,1
Gosub 跟随队长3
Else
If GenSui=3
KeyPress 115,1
Gosub 跟随队长3
Else
If GenSui=4
KeyPress 116,1
Gosub 跟随队长3
Else
If GenSui=5
KeyPress 117,1
Gosub 跟随队长3
Else
If GenSui=6
KeyPress 118,1
Gosub 跟随队长3
Else
If GenSui=7
KeyPress 119,1
Gosub 跟随队长3
Else
If GenSui=8
KeyPress 120,1
Gosub 跟随队长3
Else
If GenSui=9
KeyPress 121,1
Gosub 跟随队长3
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
Return
Sub 跟随队长1
VBSCall FindColorEx(503,13,570,31,"FFFFFF",1,0.8,x,y)
If x>0 and y>0
KeyPress 53,1
Delay 1225
KeyPress 54,3
EndIf
Return
Sub 跟随队长2
VBSCall FindColorEx(503,13,570,31,"82ff",1,0.8,x,y)
If x>0 and y>0
If GenSuiHuangMing=1
KeyPress 53,1
Delay 1225
KeyPress 54,3
EndIf
EndIf
Return
Sub 跟随队长3
VBSCall FindColorEx(503,13,570,31,"ff0080",1,0.8,x,y)
If x>0 and y>0
KeyPress 53,1
Delay 1225
KeyPress 54,3
EndIf
Return
Sub 协助队长攻击
VBSCall FindColorEx(620,15,622,24,"0",1,0.8,x,y)
If x>0 and y>0
KeyPress 50,1
Gosub 技能
EndIf
Return
Sub 技能
If DateDiff("s",t1,now)>=jn(0)
KeyPress 51,1
Delay 32
t1=now
EndIf
If DateDiff("s",t2,now)>=jn(1)
KeyPress 52,1
Delay 32
t2=now
EndIf
Return
Sub 状态