{

    //BOSS战 - 终点

    "ID": 2010916,

    "EventTypeTag": [

      "CameraMoveToCenter_ban",

      "Battle"

    ],

    "Events": {

        "OnStart": {

            "Actions": [

                {

                  "$type":"Share.CConfigEmpty"

                },

                {

                    "$type":"Share.CConfigDropBattleID",

                    "Type":["specials(difficult)"],

                    "SpecialName":"BattleID"

                },

                {

                    //这里已经出去了

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID)",

                    "OnSuccess": "Clean",

                    "EndHollow": true

                }

            ]

        },

        "Clean":{

            "Actions":[

            //清理全部战斗格

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnEnd",

                "Predicates":[

                    {

                        "$type":"Share.CConfigEventByEventState",

                        "X":3,

                        "Y":3,

                        "Position":"Absolute",

                        "VisibleState":["Visible"],

                        "Count":1,

                        "CompareType":"GreaterEqual",

                        "Radius":15,

                        "EventID":[2007] //战斗

                    }

                ]

            },

            {

                "$type":"Share.CConfigSetConditionProgress",

                "ConditionID":30060073,

                "Progress":1,

                "ModifyType":"Add"

            },

            {

                "$type": "Share.CConfigJump",

                "Jump": "OnEnd"

            }

            ]

        },

        "OnEnd": {

            "Actions": [

                //任务判断：最终获得的侵蚀数量不超过0个 

                {

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060083,

                    "Progress":1,

                    "ModifyType":"Add",

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByCurse",

                            "CompareType":"LessEqual",

                            "Count":0

                        }

                    ]

                },

                //任务判断：最终获得的侵蚀数量不超过1个 

                {

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060074,

                    "Progress":1,

                    "ModifyType":"Add",

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByCurse",

                            "CompareType":"LessEqual",

                            "Count":1

                        }

                    ]

                },

                // //战斗次数少于1次(除BOSS战)

                // {

                //     "$type":"Share.CConfigSetConditionProgress",

                //     "ConditionID":30060084,

                //     "Progress":1,

                //     "ModifyType":"Add",

                //     "Predicates":[

                //         {

                //             "$type": "Share.CConfigEventByHollowVariable",

                //             "Key": "BattleCount.20109",

                //             "CompareType": "LessEqual",

                //             "Count": 1

                //         }

                //     ]

                // },

                // //战斗次数少于2次(除BOSS战)

                // {

                //     "$type":"Share.CConfigSetConditionProgress",

                //     "ConditionID":30060075,

                //     "Progress":1,

                //     "ModifyType":"Add",

                //     "Predicates":[

                //         {

                //             "$type": "Share.CConfigEventByHollowVariable",

                //             "Key": "BattleCount.20109",

                //             "CompareType": "LessEqual",

                //             "Count": 2

                //         }

                //     ]

                // },

                //离开空洞

                {

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060072,

                    "Progress":1,

                    "ModifyType":"Add"

                },

                {

                    "$type": "Share.CConfigFinishHollow"

                }

            ]

        }

    },

    "Specials": {

        "BattleID": 0,

        "difficult":82

    }

}

