Rem go
Delay 1000
Gosub Medic
//如果目标死亡。。。。
IfColor 251,55,101410,0
    KeyDown 17,1
    KeyPress 9,1
    KeyUp 17,1
EndIf 
//判断对象是否是敌人并有一定血量
IfColor 249,38,000094,0
    Gosub Skill
EndIf 
Goto go
Sub Skill
    //按下F2,施放“飞龙在天”
    KeyPress 112,1
    Delay 100
    IfColor 177,79,251f7d,2
        //SayString 飞龙在天
        //KeyPress 13,1
        KeyPress 113,1
    EndIf 
    //按下F3,施放“横扫千里”
    IfColor 624,718,e9f4e4,2
        Delay 500
        //SayString 横扫千里
        //KeyPress 13,1
        KeyPress 114,1
    EndIf 
    //按下F4,施放“青龙吸水”
    IfColor 658,720,f5fa5d,2
        Delay 500
        //SayString 青龙吸水
        //KeyPress 13,1
        KeyPress 115,1
    EndIf 
    //按下F5,施放“亢龙有悔”
    IfColor 136,71,00ffff,2 //and 693,720,07e2e6,0
        //SayString 亢龙有悔
        //KeyPress 13,1
        KeyPress 116,1
    EndIf 
Return Skill
Sub Medic
    //IfColor 没血
    //Keypress 119,1
    //检查宠物是否没血,按下F9
    IfColor 119,96,111310,0
        KeyPress 120,1
    EndIf 
    //检查人物是否没蓝,按下F10
    IfColor 92,63,1b1f1a,0
        Delay 500
        KeyPress 121,1
    EndIf 
Return Medic