Rem dg
//标记打怪
KeyPress 9,1
IfColor 587,121,21c7e,0
    //抓怪物血条判断他最后血条的位置颜色
    KeyPress 49,1
    //技能1
    Delay 1500
    //等待1.5秒
    KeyPress 49,1
    //技能1
    KeyDown 83,1
    //按住S键后退
    Delay 1000
    //等待1秒
    KeyUp 83,1
    //放开S
    Delay 1000
    //等待1秒
    KeyPress 49,1
    //技能1
    Delay 1000
    KeyPress 49,1
    Delay 1000
    KeyPress 51,1
    Delay 1000
    KeyPress 51,1
    Delay 1000
    KeyPress 51,1
EndIf 
Rem zg
//标记找怪
IfColor 587,121,21c7e,1
    //怪物血条位置的颜色如果不是红的
    KeyPress 51,5
    //捡东西健
    Goto dg
    //跳到打怪
EndIf 
Rem jx
//标记加血
IfColor 587,121,3248f,1
    //红70%位置如果颜色不对
    KeyPress 53,1
    //加红健5
    IfColor 430,968,434e50,0
        //判断5位置有没有红药我抓的是空物品拦的颜色如果是空的就
        Goto xx
        //跳到休息
    EndIf 
    Rem xx
    IfColor 430,968,434e50,0
        //判断5位置没有红药
        KeyPress 187,1
        //休息键
        Delay 10000
        //休息10秒
        Goto zg
        //跳到打怪
    EndIf 
    Rem bl
    //标记补蓝
    IfColor 103,95,ed6a43,1
        //蓝最左边位置的颜色如果不=
        Goto xx
        //就跳到休息
    EndIf 
EndIf