LeftClick 3

                    Delay 500

                    Gosub +上限和防

                EndIf 

            EndIf 

            IfColor 910 430 00009c 2

                MoveTo 950 430

                Delay 500

                LeftClick 3

                Delay 500

                Gosub +上限和防

            Else 

                Gosub 解黄毒

                Gosub 解绿毒

                Gosub 解诅咒

                IfColor 910 430 00009c 2

                    MoveTo 950 430

                    LeftClick 3

                    Delay 500

                    Gosub +上限和防

                EndIf 

            EndIf 

            Delay 1000

            KeyPress 67 1

            Delay 1000

        Else 

            Goto 开始

        EndIf 

    EndIf 

Return 单加上限和防

//===============================

Sub +上限和防

    Delay 200

    KeyPress 51 1

    Delay 1800

    KeyPress 52 1

    Delay 1800

Return +上限和防

//===============================

Sub +480MP

    IfColor 413 42 9c 2

        Delay 350

        KeyPress 49 1

        Delay 1800

        KeyPress 67 1

        Delay 1000

    EndIf 

    IfColor 413 80 9c 2

        Delay 350

        KeyPress 49 1