//灯塔

{

    "ID": 2010301,

    "Events": {

        "OnStart": {

            "Actions": [

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

                {

                    //布布存钱罐

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060118,

                    "Progress":1,

                    "ModifyType":"Add"

                },

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

                

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2010301_Title",//最后的电量

                    "Description":"Event2010301_1",//你们看到了一只被奄（快）奄（要）一（没）息（电）的邦布，从它仅剩的行动记录中可以读取一些残存的地图数据。

                    "QuestionDescription": "Event2010301_2",

                    "Choices": [

                        {

                            "OptionText": "Event2010301_3",

                            "OptionText2": "Event2010301_4",//揭露周围隐藏格。

                            "OptionIcon1": 113,

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

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

                                        {

                                            //布布存钱罐

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060115,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

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

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "UnLockMap"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2010301_5",

                            "OptionText2": "Event2010301_6",//随机清除{specials(RemoveNum)}个战斗格。

                            "OptionIcon1": 113,

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

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

                                        {

                                            //布布存钱罐

                                            "$type":"Share.CConfigSetConditionProgress",

                                            "ConditionID":30060116,

                                            "Progress":1,

                                            "ModifyType":"Add"

                                        },

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

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "RemoveBattle"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "RemoveBattle": {

            "Actions": [

                

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "Center"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X": 5,

                    "Y": 5,

                    "Radius": 6,

                    "Count": "specials(RemoveNum)",

                    "Type":[

                        "Battle_Normal",

                        "Battle_Elite"

                    ],

                    "ToState": ["Finished"]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "StretchKey": "Back"



                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "UnLockMap": {

            "Actions": [

                

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundHalfW":3,

                    "BoundHalfH":3

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                // {

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

                //     "Position": "Relative",

                //     "NodeType": "All",

                //     "X": 0,

                //     "Y": 0,

                //     "Radius": 3,

                //     "Count": 28,

                //     "FromVisibleState": [

                //         "TemporaryVisibleAtAround",

                //         "VisibleAtGridAround"

                //     ],

                //     "ToVisibleState": ["Visible"]

                // },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "X": 0,

                    "Y": 0,

                    "Radius": 4,

                    "Count": 64,

                    "FromVisibleState": [

                        "Visible"

                    ],

                    "FromState":[

                        "Locked",

                        "Unlocked"

                    ],

                    "ToState":[

                        "ShowEvent"

                    ]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "StretchKey": "Back"



                },

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

                {

                    //布布存钱罐

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060119,

                    "Progress":1,

                    "ModifyType":"Add",

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X": 0,

                            "Y": 0,

                            "NodeType":"All",

                            "EventID":[2010302,2010303],

                            "Position": "Relative",

                            "Radius":4,

                            "VisibleState":["Visible"],

                            "State":["ShowEvent"],

                            "Count":2,

                            "CompareType":"GreaterEqual"

                        }

                    ]

                },

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

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    },

    "Specials": {

        "trigger": 0,

        "BattleID":2020103,

        "RemoveNum":5

    }

}

