//灯塔

{

    "ID": 2020408,

    "Events": {

        "OnCreate":{

            "Actions":[

                

                {

                    //战斗计数器+1

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "LightHouse_2020408_posX",

                    "Value":"getpos(X,2)"

                },

                {

                    //战斗计数器+1

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "LightHouse_2020408_posY",

                    "Value":"getpos(Y,2)"

                }

            ]

        },

        "OnStart": {

            "Actions": [

                

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2020408_Title",

                    "Description":"Event2020408_1",

                    "QuestionDescription": "Event2020408_2",

                    "Choices": [

                        {

                            "OptionText": "Event2020408_3",

                            // "OptionText2": "Event_1022_OP1_1_2",

                            "OptionIcon1": 109,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnBattle"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2020408_4",

                            // "OptionText2": "Event_1022_OP1_2_2",

                            "OptionIcon1": 106,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "OnBattle":{

            "Actions":[

                {

                    "$type":"Share.CConfigDropBattleID",

                    "Type":[70,71,72],

                    "SpecialName":"BattleID"

                },

                {

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID)",

                    "OnSuccess": "LightHouse",

                    "OnFailure": "LightHouse"

                }

            ]

        },

        "LightHouse": {

            "Actions": [

                {

                  "$type": "Share.CConfigPreset",

                  //无交互

                  "PerformKey" : "Chessboard_BattleEnd_None"

                },

                {

                    "$type": "Share.CConfigCloseDialog",

                    "CameraMove":false

                },

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2020408_Title",

                    "Description":"Event2020408_5",

                    "QuestionDescription": "Event2020408_6",

                    "Choices": [

                        {

                            "OptionText": "Event2020408_7",

                            // "OptionText2": "Event_1022_OP2_1_2",

                            "OptionIcon1": 113,

                            "OptionContents": [

                                {

                                    "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": 2,

                    // "Count": 12,

                    "Radius": 3,

                    "Count": 28,

                    "FromVisibleState": [

                        "TemporaryVisibleAtAround",

                        "VisibleAtGridAround"

                    ],

                    "ToVisibleState": ["Visible"]

                },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Relative",

                    "NodeType": "All",

                    "X": 0,

                    "Y": 0,

                    // "Radius": 2,

                    // "Count": 12,

                    "Radius": 3,

                    "Count": 28,

                    "FromVisibleState": [

                        "Visible"

                    ],

                    "FromState":[

                        "Locked",

                        "Unlocked"

                    ],

                    "ToState":[

                        "ShowEvent"

                    ]

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "StretchKey": "Back"



                },

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

                {

                    //布布存钱罐

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060129,

                    "Progress":1,

                    "ModifyType":"Add"

                },

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

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                // {

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

                //     "TipID": 102202,

                //     "Delay": 0

                // },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    },

    "Specials": {

        "trigger": 0,

        "BattleID":2020103

    }

}

