EndIf 
        Goto 继续杀怪
    Else 
        If jb=1
            Gosub 捡包
        Else 
            Goto 开始
        EndIf 
    EndIf 
Return 杀怪
Sub 怒气判断
    IfColor qx+126,qy+43,00ffff,2
        q=1
    EndIf 
    IfColor qx+188,qy+43,00ffff,2
        q=2
    EndIf 
Return 怒气判断
Sub 技能
    Goto 开始
    If DateDiff("s",t1,now)>=s1
        KeyPress 12 1
        t1=now
        Delay 100
    EndIf 
    IfColor dx+261,dy+31,0011ff,2
        If DateDiff("s",t2,now)>=s2
            Delay 500
            KeyPress 113 1
            t2=now
            Delay 500
        EndIf 
    Else 
    EndIf 
    IfColor dx+261,dy+31,0011ff,2
        If DateDiff("s",t3,now)>=s3
            Delay 500
            KeyPress 114 1
            t3=now
            Delay 500
        EndIf 
    Else 
    EndIf 
    Gosub 怒气判断
    IfColor dx+261,dy+31,0011ff,2
        If DateDiff("s",t4,now)>=s4 and q>=1
            Delay 500
            KeyPress 115 1
            t4=now:q=q-1
            Delay 500
        EndIf 
    Else 
    EndIf 
    IfColor dx+261,dy+31,0011ff,2
        If DateDiff("s",t5,now)>=s5
            Delay 500
            KeyPress 116 1
            t5=now
            Delay 500
        EndIf 
    Else 
    EndIf 
    IfColor dx+261,dy+31,0011ff,2
        If DateDiff("s",t6,now)>=s6
            KeyPress 117 1
            t6=now
            Delay 100
        EndIf 
    EndIf 
    If DateDiff("n",t7,now)>=s7
        MoveTo dx+36,dy+35
        LeftClick 1
        Delay 100
        KeyPress 118 1
        t7=now
        Delay 100
        KeyDown 17,1
        Delay 10
        KeyPress 9,1
        Delay 10
        KeyUp 17,1
        Delay 10
    EndIf 
    If DateDiff("s",t8,now)>=redwait and a>=1
        KeyPress 119 1
        t8=now:a=0
        Delay 500
    EndIf 
    If DateDiff("s",t9,now)>=bluewait and b>=1
        KeyPress 120 1
        t9=now:b=0
        Delay 500
    EndIf 
    If DateDiff("s",t10,now)>=1 and c>=1
        KeyPress 121 1
        t10=now
        c=0
        Delay 500
    EndIf 
Return 技能