{

    "ID": 780,

    "Specials": {

        "BattleID": 0,

        "BattleID1": 0,

        "BattleID2": 0,

        "BattleID3": 0,

        "BattleID4": 0,

        "BattleID5": 0,



        "CardCount":5,

        "NextLayer":0

    },

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "首领的信号似乎就在附近", // 首领的信号似乎在更深层的空洞里

                        "不管这么多，先击败眼前的敌人！" // 先击败眼前的敌人！再去找它算账！

                    ],

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "CardCount",

                            "Param":"itemtype(31)",

                            "CompareType":"LessEqual"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "首领的信号似乎被什么干扰了", // 首领的信号似乎在更深层的空洞里

                        "不管这么多，先击败眼前的敌人！" // 先击败眼前的敌人！再去找它算账！

                    ],

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "CardCount",

                            "Param":"itemtype(31)",

                            "CompareType":"Greater"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSwitchServer",

                    "Switch": [

                        {

                            "Weight": 25,

                            "Actions": [

                                {

                                    "$type": "Share.CConfigSetSpecial",

                                    "SpecialName": "BattleID",

                                    "SpecialValue": "specials(BattleID1)"

                                }

                            ]

                        },

                        {

                            "Weight": 25,

                            "Actions": [

                                {

                                    "$type": "Share.CConfigSetSpecial",

                                    "SpecialName": "BattleID",

                                    "SpecialValue": "specials(BattleID2)"

                                }

                            ]

                        },

                        {

                            "Weight": 25,

                            "Actions": [

                                {

                                    "$type": "Share.CConfigSetSpecial",

                                    "SpecialName": "BattleID",

                                    "SpecialValue": "specials(BattleID3)"

                                }

                            ]

                        },

                        {

                            "Weight": 25,

                            "Actions": [

                                {

                                    "$type": "Share.CConfigSetSpecial",

                                    "SpecialName": "BattleID",

                                    "SpecialValue": "specials(BattleID4)"

                                }

                            ]

                        },

                        {

                            "Weight": 25,

                            "Actions": [

                                {

                                    "$type": "Share.CConfigSetSpecial",

                                    "SpecialName": "BattleID",

                                    "SpecialValue": "specials(BattleID5)"

                                }

                            ]

                        }

                    ]    

                },

                {

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID)",

                    "OnSuccess": "OnCurse",

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "CardCount",

                            "Param":"itemtype(31)",

                            "CompareType":"Greater"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID)",

                    "OnSuccess": "OnFinish",

                    "Predicates":

                    [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "CardCount",

                            "Param":"itemtype(31)",

                            "CompareType":"LessEqual"

                        }

                    ]

                }

            ]

        },

        "OnCurse":{

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "JsonText_827" // 以这样的战斗状态，完成委托没有问题！

                    ]

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Description": "JsonText_808", // 稍稍休整一下吧。

                    "Choices": [

                        {

                            "OptionText": "JsonText_809", // 检查以太适性状况。

                            "OptionText2": "JsonText_810", // （清除一个侵蚀症状）

                            "Predicates": [

                                {

                                    //有诅咒

                                    "$type": "Share.CConfigEventByCurse",

                                    // "Type": 1,

                                    "CompareType": "Greater",

                                    "Count": 0

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "JsonText_811", // 确认撤退路线。

                            "OptionText2": "JsonText_812", // （降低20点压力值）

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigModifySceneProperty",

                                            "Property": "Stamina",

                                            "Count": -20

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }       

            ]        

        },

        "Op_1_Over": {

            "Actions": [

                {

                    //主动清除1个诅咒

                    "$type": "Share.CConfigRemoveCurse",

                    "RemoveType": "Initiative",

                    "Count": 1

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "JsonText_813" // 继续向深层进发吧！

                    ]

                },

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "OnEnd"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigNewHollow",

                    "HollowMaps":["20102-1"],

                    "SectionID": "NextLayer"

                },

                {

                    "$type": "Share.CConfigGotoNextHollow",

                    "SectionID":"specials(NextLayer)"

                },

                // {

                //     "$type": "Share.CConfigGotoNextHollow"

                // },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnFinish":{

            "Actions":[

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "已发现首领位置"

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X": "playerpos(X)+1",

                    "Y": "playerpos(Y)",

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X": "playerpos(X)+2",

                    "Y": "playerpos(Y)",

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

