//限时挑战事件

{

    "ID": 1015,

    "Events": {

        "OnStart": {

            "Actions": [

                {

                  "$type":"Share.CConfigEmpty"

                },

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"挑衅者的乐子",

                    "Description":"一个神情嚣张的盗洞客叫住了你们：「喂！要不要来打个赌！看到前面的以骸了吗，按照我的要求干掉它们就算赢，不过要是输了的话……哼哼。」",

                    "QuestionDescription": "要接受他的挑衅吗？",

                    "Choices": [

                        {

                            "OptionText": "那就来吧",

                            "OptionText2": "增加{specials(op_stamina)}压力，进入挑战",

                            "OptionIcon1": 109,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        { 	

                                            //+100压力值

                                            "$type" : "Share.CConfigModifySceneProperty",

                                            "Property" :  "Stamina",

                                            "Count" : "specials(op_stamina)"

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Battle"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "避免不必要的战斗",

                            // "RewardDesc": "Event_1023_BattleChallenge_{specials(Award)}",

                            "OptionText2": "无视挑衅，转身就走",

                            // "ChallengeDesID":"specials(RandomChallenge_1)",

                            "OptionIcon1": 106,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnExit"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Battle":{

            "Actions":[

                {

                    "$type": "Share.CConfigSwitchServer",

                    "Switch": [

                        {

                            "Weight": 50,

                            "Actions": [

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"Difficulty",

                                    "SpecialValue":"specials(diffi1)"

                                }

                            ]

                        },

                        {

                            "Weight": 50,

                            "Actions": [

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"Difficulty",

                                    "SpecialValue":"specials(diffi2)"

                                }

                            ]

                        }

                    ]

                },

                // {

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

                //     "Messages": [

                //         "Difficulty:{specials(Difficulty)}", // 测试1

                //         "diffi1:{specials(diffi1)}", // 测试1

                //         "diffi2:{specials(diffi2)}" // 测试1

                //     ]

                // },

                {

                  "$type":"Share.CConfigDropBattleID",

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

                  "SpecialName":"BattleID"

                },

                // {

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

                //     "Messages": [

                //         "Difficulty:{specials(BattleID)}" // 测试1

                //     ]

                // },

                {

                  "$type": "Share.CConfigTriggerBattle",

                  "BattleID": "specials(BattleID)",

                  "OnSuccess": "OnFinish"

                }

                

            ]

        },

        "OnFinish":{

            "Actions":[

                {

                  "$type": "Share.CConfigPreset",

                  "PerformKey" : "Chessboard_BattleEnd_None"

                },

                {

                    "$type": "Share.CConfigCloseDialog",

                    "CameraMove":false

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnExit":{

            "Actions":[

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    },

    "Specials": {

        "BattleID":0,

        "Difficulty":0,

        "diffi1":33,

        "diffi2":34,

        //表格参数

        "op_stamina": 100

    }

}

