{

    "ID": 2010524, //希望与绝望-开关2

    "Specials": {

        //路况

        "RoadState":0 //1为安全

    },

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    "$type":"Share.CConfigSetSpecial",

                    "SpecialName":"RoadState",

                    "SpecialValue":1,

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "InCount.201052402",

                            "CompareType": "Equal",

                            "Count": 0

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 6,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010515 //hong



                            ]

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 7,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010515



                            ]

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 8,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010515



                            ]

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 9,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010515



                            ]

                        }

                    ]

                },

                //这里开始

                {

                    "$type":"Share.CConfigSetSpecial",

                    "SpecialName":"RoadState",

                    "SpecialValue":1,

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "InCount.201052402",

                            "CompareType": "Equal",

                            "Count": 1

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 6,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "State":["ShowEvent"],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010528



                            ]

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 7,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "State":["ShowEvent"],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010528



                            ]

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 8,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "State":["ShowEvent"],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010528



                            ]

                        },

                        {

                            "$type": "Share.CConfigEventByEventState",

                            "X": 3,

                            "Y": 9,

                            "Position": "Absolute",

                            "VisibleState": [

                              "Visible"

                            ],

                            "State":["ShowEvent"],

                            "Count": 1,

                            "CompareType": "NotEqual",

                            "Radius": 0,

                            "EventID": [

                                2010528



                            ]

                        }

                    ]

                },

                {

                    "$type":"Share.CConfigJump",

                    "Jump":"Road",

                    "Predicates":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "InCount.201052402",

                            "CompareType": "Equal",

                            "Count": 1

                        },

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "RoadState",

                            "Param": 1,

                            "CompareType": "Equal"

                        }

                    ]

                },

                //这里结束



                {

                    "$type": "Share.CConfigJump",

                    "Jump": "Transf"

                }

                

            ]

        },

        "Transf":{

            "Actions":[

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundIndexX":43,

                    "BoundIndexY":68,

                    "CanControl":false,

                    "UseStretchZ":true

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.8

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 8,

                    "Position": "Absolute",

                    "Radius": 4,

                    "ModificationNum": 18,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010515

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010528

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 8,

                    "Position": "Absolute",

                    "Radius": 4,

                    "ModificationNum": 18,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010516

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 8,

                    "Position": "Absolute",

                    "Radius": 4,

                    "ModificationNum": 18,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010517

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        1017

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },



                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Back",

                    "Type": "Back",

                    "CanControl":true,

                    "UseStretchZ":false

                },

                

                {

                    "$type": "Share.CConfigJump",

                    "Jump": "Road",

                    "Predicates": [

                        {

                            "$type": "Share.CConfigEventBySpecials",

                            "ParamName": "RoadState",

                            "Param": 1,

                            "CompareType": "Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title": "Event2010524_Title",

                    "Description": "Event2010524_1",

                    "QuestionDescription": "Event2010524_2",

                    "Choices": [

                        {

                            "OptionText": "Event2010524_3",

                            //"OptionText2": "Event2010020_5",

                            "OptionIcon1": 113,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Retry"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2010524_4",

                            "OptionIcon1": 106,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "WantBattle"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }



            ]

        },

        "Retry":{

            "Actions":[

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //观测任务：不安全道路

                {

                    "$type": "Share.CConfigSetConditionProgress",

                    "ConditionID": 30060171,

                    "Progress": 1,

                    "ModifyType": "Add"

                },

                //彩色地块参数复原

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "CountIn.2010521",

                    "Value": 0

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "CountOut.2010522",

                    "Value": 0

                },

                //地块复原

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 8,

                    "Position": "Absolute",

                    "Radius": 4,

                    "ModificationNum": 18,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010528,1017,2010526

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "Locked",

                    "VisibleState": "Visible"

                },

                {

                    "$type":"Share.CConfigEmpty"

                },

                {

                    "$type": "Share.CConfigTransfer",

                    "X": 3,

                    "Y": 10,

                    "Random": false

                },

                //进入计数归0

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "InCount.201052402",

                    "Value": 0

                },

                //tip：顺序是红黄蓝，红色会转换成危险的以骸怪物，我们不能让红色出现在中间的主路上

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 201050402,

                    "Delay": 0

                

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Road":{

            "Actions":[

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event2010524_5" 

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //离开演出 2010907

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundIndexX":43,

                    "BoundIndexY":75,

                    "CanControl":false,

                    "UseStretchZ":true

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 6,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2010907

                    ], //替身

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 7,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2010907

                    ], //替身

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 6,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010907

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 8,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2010907

                    ], //替身

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 7,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010907

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 9,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2010907

                    ], //替身

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 8,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010907

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 10,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventType": 1,

                    "EventID": [

                        2010907

                    ], //替身

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 9,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010907

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 3,

                    "Y": 10,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [

                        2010907

                    ],

                    "TargetEventType": 1,

                    "EventID": [

                        2010526

                    ],

                    "EventState": "ShowEvent",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMoveV2",

                    "StretchKey": "Back",

                    "Type": "Back",

                    "CanControl":true,

                    "UseStretchZ":false

                },



                {

                    "$type": "Share.CConfigSetMapState",

                    "NodeType":"All",

                    "X":2,

                    "Y":5,

                    "Position":"Absolute",

                    "Radius":0,

                    "Count":1,

                    "FromVisibleState":["VisibleByTriggerEvent"],

                    "ToVisibleState":["Visible"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.1

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "NodeType":"All",

                    "X":1,

                    "Y":5,

                    "Position":"Absolute",

                    "Radius":0,

                    "Count":1,

                    "FromVisibleState":["VisibleByTriggerEvent"],

                    "ToVisibleState":["Visible"]

                },

                //流程任务：安全逃生

                {

                    "$type": "Share.CConfigSetConditionProgress",

                    "ConditionID": 30060166,

                    "Progress": 1,

                    "ModifyType": "Add"

                },

                //观测任务：救出父子

                {

                    "$type": "Share.CConfigSetConditionProgress",

                    "ConditionID": 30060167,

                    "Progress": 1,

                    "ModifyType": "Add"

                },

                //Tip：拜拜，我们把这里的首领消灭吧

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 201050404,

                    "Type": "End",

                    "Duration": 50,

                    "NextTips": [

                        {

                            "$type": "Share.CConfigShowTip",

                            "TipID": 201050405

                        }

                    ]

                },

                //父与子点消失判断用后楼参数

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "FAS.2010524",

                    "Value": 9

                },



                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "WantBattle":{

            "Actions":[

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //观测任务：不安全道路

                {

                    "$type": "Share.CConfigSetConditionProgress",

                    "ConditionID": 30060171,

                    "Progress": 1,

                    "ModifyType": "Add"

                },

                //观测任务：选择自己前往理清路线

                {

                    "$type": "Share.CConfigSetConditionProgress",

                    "ConditionID": 30060170,

                    "Progress": 1,

                    "ModifyType": "Add"

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "InCount.201052402",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}