KeyPress 49,1
    KeyPress 50,1
    Call 自动吃红蓝()
    KeyPress 51,1
End Sub
//===============================
Sub 攻击()
    Call ZG()
    Rem K
    KeyPress 49,1
    KeyPress 50,1
    Call 自动吃红蓝()
    KeyPress 51,1
    Call 狼血()
    z=z+1
    If z>3 Then
        z=0
        Goto 【开始】
        Call 防()
        Call 狼血()
        Call 自动吃红蓝()
    Else
        IfColor 412,42,"000099",2 Then
            Goto K
            Call 狼血()
            Call 防()
        End if
        IfColor 412,80,"000099",2 Then
            Goto K
            Call 防()
            Call 狼血()
            Call 自动吃红蓝()
        End if
    End if
    Call 狼血()
    Call 防()
    Call 修理武器()
    Call 自动吃红蓝()
End Sub
//===============================
Sub 自动吃红蓝()
    Call 治愈术()
    Call Blue()
    Call Red()
End Sub
//===============================
Sub 治愈术()
    IfColor 225,42,"001133",2 Then
        IfColor 215,42,"001133",2 Then
            KeyPress 54,1
        End if
    End if
End Sub
//===============================
Sub Red()
    IfColor 180,42,"001133",2 Then
        IfColor 150,42,"001133",2 Then
            KeyPress 55,1
        End if
    End if
End Sub
//===============================
Sub Blue()
    IfColor 80,58,"001133",2 Then
        IfColor 83,58,"001133",2 Then
            KeyPress 56,1
        End if
    End if
End Sub
//===============================
Sub 修理()
    k=k+1
    If k>300 Then
        Call Leftright()
        Call 修装备()
        k=0
        MoveTo 714,318
    End if
End Sub
//===============================
Sub Leftright()
    Delay 2000
    MoveTo 882,177
    Delay 350
    Call 鼠标左键()
    MoveTo 984,179
    Delay 350
    Call 鼠标左键()
End Sub
//===============================
Sub 修装备()
    Delay 1000
    MoveTo 932,74
    Delay 350
    Call 鼠标左键()
    Delay 350
    MoveTo 929,125
    Delay 350
    Call 鼠标左键()
    Delay 350