//传送

{

    "ID": 2020402,

    "Specials": {

        //标志参数

        "shownext":0,

        "targetposX":0,

        "targetposY":0,

        "max":0,



        //表格

        "stamina":40



    },

    "Events": {

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2020402_Title", //同行的谢礼

                    "Description": "Event2020402_1", //你们遇见了一群盗洞客，向他们传达了此处可能会卷入战争的警告。同行们十分感激，在撤离前递....

                    "QuestionDescription": "Event2020402_2",

                    "Choices": [

                        {

                            "OptionText": "Event2020402_3", //可能是反叛军的据点信息，不论如何也要读取！

                            "OptionText2": "Event2020402_4", //增加{specials(stamina)}压力，立刻到达下一个隔离屋附近。

                            "OptionIcon1":113,

                            "Predicates":[

                                {

                                    "$type": "Share.CConfigEventBySpecials",

                                    "ParamName": "max",

                                    "Param":"scenevar(Valid_Target_2020401_1)+scenevar(Valid_Target_2020401_2)+scenevar(Valid_Target_2020401_3)",

                                    "CompareType":"NotEqual"

                                }

                            ],

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

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

                                        {

                                            //布布存钱罐

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060128,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

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

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnTeleport"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2020402_5", //不冒这个险，就读读未加密的路线信息吧···

                            "OptionText2": "Event2020402_6", //随机到达某个区域。

                            "OptionIcon1":113,

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnRandom"

                                        }



                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "OnTeleport": {

            "Actions": [

                {

                    "$type" : "Share.CConfigModifySceneProperty",

                    "Property" :  "Stamina",

                    "Count" : "specials(stamina)"

                },

                {

                    "$type": "Share.CConfigSwitchServer",

                    "Switch": [

                        {

                            "Weight": 50,

                            "Conditions":[

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "Valid_Target_2020401_1",

                                    "CompareType": "Equal",

                                    "Count": 1

                                }

                            ],

                            "Actions": [

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"targetposX",

                                    "SpecialValue":"scenevar(X_Target_2020401_1)"

                                },

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"targetposY",

                                    "SpecialValue":"scenevar(Y_Target_2020401_1)"

                                }

                            ]

                        },

                        {

                            "Weight": 50,

                            "Conditions":[

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "Valid_Target_2020401_2",

                                    "CompareType": "Equal",

                                    "Count": 1

                                }

                            ],

                            "Actions": [

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"targetposX",

                                    "SpecialValue":"scenevar(X_Target_2020401_2)"

                                },

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"targetposY",

                                    "SpecialValue":"scenevar(Y_Target_2020401_2)"

                                }

                            ]

                        },

                        {

                            "Weight": 50,

                            "Conditions":[

                                {

                                    "$type": "Share.CConfigEventByHollowVariable",

                                    "Key": "Valid_Target_2020401_3",

                                    "CompareType": "Equal",

                                    "Count": 1

                                }

                            ],

                            "Actions": [

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"targetposX",

                                    "SpecialValue":"scenevar(X_Target_2020401_3)"

                                },

                                {

                                    "$type":"Share.CConfigSetSpecial",

                                    "SpecialName":"targetposY",

                                    "SpecialValue":"scenevar(Y_Target_2020401_3)"

                                }

                            ]

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 202040201,

                    "Delay": 2

                },

                {

                    "$type": "Share.CConfigTransfer",

                    "X":"specials(targetposX)",

                    "Y":"specials(targetposY)",

                    "Random":false,

                    "TargetEventID": 1003,

                    "Radius":2

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnRandom": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 202040201,

                    "Delay": 2

                },

                {

                    "$type": "Share.CConfigTransfer",

                    "X":-1,

                    "Y":-1,

                    "Random":false,

                    "EventID": 1003,

                    "Radius":0

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

