{

    "ID": 2010501,

    "Events": {

        //起始执行的事件

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    //设定失败计数器为0

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GlobalCount_2010501",

                    "Value": "scenevar(Count_2010501)+1"

                },

                {

                    "$type": "Share.CConfigIf",

                    "OnSuccess": "OnChoose",

                    "OnFailure": "Nothing",

                    "Conditions":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "Discover_2010501",

                            "CompareType": "Less",

                            "Count": 2

                        }

                    ]

                }

            ]

        },

        "Nothing": {

            "Actions": [

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_2010501_Des1" // 以太涡流已归于平息

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnChoose":{

            "Actions":[

                {

                    //根据选项模式选择选项

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event_2010501_Title",//以太涡流

                    "Description": "Event_2010501_Des{scenevar(Discover_2010501)+2}",//一名队友察觉到异样，示意大家停下了脚步。前方的空间扭曲成奇异的景象，这是不稳定的以太涡流。

                    "QuestionDescription": "Event_2010501_QuestionDes2",

                    "Choices": [

                        {

                            "OptionText": "Event_2010501_OP1_1", // 穿过以太涡流。

                            "OptionText2": "Event_2010501_OP1_2", // {50+scenevar(Failure_2010501)*50}%概率揭露密道

                            "OptionIcon1": 113,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        //------观测任务------

                                        {

                                            //串门

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060088,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

                                        //------------

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_1_Over"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_2010501_OP2_1", // 采集涡流周边数据。

                            "OptionText2": "Event_2010501_OP2_2", //获得1枚骸章

                            "OptionIcon1": 101,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        //------观测任务------

                                        {

                                            //我就是不进去

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060087,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

                                        //------------

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "Op_2_Over_1"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "Op_1_Over":{

            "Actions":[

                {

                    "$type": "Share.CConfigIf",

                    "OnSuccess": "Op_1_CountCondition",

                    "OnFailure": "Op_1_Over_2",

                    "Conditions":[

                        {

                            "$type": "Share.CConfigEventByRandom",

                            "Odds": "50+scenevar(Failure_2010501)*50" //跳转概率

                        }

                    ]

                }

            ]

        },

        "Op_1_CountCondition":{

            "Actions":[

                //------观测任务------

                {

                    //空间穿越者

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060085,

                    "Progress":1,

                    "ModifyType":"Add"

                },

                //------------

                {

                    "$type": "Share.CConfigIf",

                    "OnSuccess": "Op_1_Over_1_1",

                    "OnFailure": "Op_1_Over_1_2",

                    "Conditions":[

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "Discover_2010501",

                            "CompareType": "Equal",

                            "Count": 0

                        }

                    ]

                }

            ]

        },

        "Op_1_Over_1_1": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Failure_2010501",

                    "Value": 0

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Discover_2010501",

                    "Value": "scenevar(Discover_2010501)+1"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_2010501_OP1_Des3", // 你们手拉手，一同穿过涡流……

                        "Event_2010501_OP1_Des4" // 太棒了，这是一条通往目的地的捷径！



                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //查看全图

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "Player",

                    "CanControl": false

                },



                //==============批量揭露================

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":5,

                    "Y":3,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":5,

                    "Y":4,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":8,

                    "Y":5,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":7,

                    "Y":5,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":6,

                    "Y":8,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":6,

                    "Y":7,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":6,

                    "Y":4,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":4,

                    "Y":4,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":4,

                    "Y":5,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":4,

                    "Y":7,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":7,

                    "Y":7,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":5,

                    "Y":7,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":7,

                    "Y":4,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":7,

                    "Y":6,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },



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



                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Back",

                    "Type": "Player",

                    "CanControl": true

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Op_1_Over_1_2": {

            "Actions": [

                //二次揭露

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Failure_2010501",

                    "Value": 0

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Discover_2010501",

                    "Value": "scenevar(Discover_2010501)+1"

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_2010501_OP1_Des5", // 你们手拉手，一同穿过涡流……

                        "Event_2010501_OP1_Des6" // 太棒了，这是一条通往目的地的捷径！

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //查看全图

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "Player",

                    "CanControl": false

                },



                //==============批量揭露================

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":10,

                    "Y":3,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":8,

                    "Y":10,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":1,

                    "Y":8,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"]

                },



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



                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Back",

                    "Type": "Player",

                    "CanControl": true

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Op_1_Over_2": {

            "Actions": [

                //------观测任务------

                {

                    //背道而驰

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060086,

                    "Progress":1,

                    "ModifyType":"Add"

                },

                //------------

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Failure_2010501",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigLogText",

                    "Messages": [

                        "Event_2010501_OP1_Des1", // 你们手拉手，一同穿过涡流……

                        "Event_2010501_OP1_Des2" // 糟了，你们被传送到了意料之外的地方……

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    //第一次

                    "$type": "Share.CConfigTransfer",

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

                    "Y": "playerpos(Y)+0",

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos1",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":11,

                    "Y":4,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"],

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos1",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":10,

                    "Y":4,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"],

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos1",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },





                {

                    //第二次

                    "$type": "Share.CConfigTransfer",

                    "X": "playerpos(X)",

                    "Y": "playerpos(Y)+6",

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos2",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":7,

                    "Y":11,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"],

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos2",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":7,

                    "Y":10,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"],

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos2",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },





                {

                    //第三次

                    "$type": "Share.CConfigTransfer",

                    "X": "playerpos(X)-6",

                    "Y": "playerpos(Y)",

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos3",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":0,

                    "Y":7,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"],

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos2",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X":1,

                    "Y":7,

                    "Radius": 0,

                    "Count": 1,

                    "FromVisibleState": [

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"],

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventBySpecials",

                            "ParamName":"pos2",

                            "Param":"playerpos(Y)",

                            "CompareType":"Equal"

                        }

                    ]

                },





                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "Op_2_Over_1": {

            "Actions": [

                {

                    //定义掉落卡牌

                    "$type": "Share.CConfigRandomDropID",

                    "Type": "Card",

                    "Rare": [

                        3,4

                    ],

                    "SpecialName": [

                        "RandomCard_1",

                        "RandomCard_3",

                        "RandomCard_2"

                    ]

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "ShowMode": "Card",

                    "Choices": [

                        {

                            "OptionText": "Event_Common_Choose", // 选择

                            "OptionItemID1": "specials(RandomCard_1)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigDropPool",

                                            "Type": "Card",

                                            "ItemID": "specials(RandomCard_1)",

                                            "Num": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_Common_Choose", // 选择

                            "OptionItemID1": "specials(RandomCard_2)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigDropPool",

                                            "Type": "Card",

                                            "ItemID": "specials(RandomCard_2)",

                                            "Num": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event_Common_Choose", // 选择

                            "OptionItemID1": "specials(RandomCard_3)",

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigDropPool",

                                            "Type": "Card",

                                            "ItemID": "specials(RandomCard_3)",

                                            "Num": 1

                                        },

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    },

    "Specials": {

        //观测成功率







        //补偿

        "RandomCard_1":0,

        "RandomCard_2":0,

        "RandomCard_3":0,



        //位置，强影响

        "pos1":2,

        "pos2":5,

        "pos3":9,



        //概率调整

        "VisibleOdd": 40,

        "TransferOdd":80

    }

}

