{

    "ID": 2011504,

    "Specials": {

        "BattleID":0

    },

    "Events": {

        "OnStart":{

            "Actions":[

                {

                    "$type": "Share.CConfigJump",

                    "Predicates": [

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "Event.2011504",

                            "CompareType": "Equal",

                            "Count": 0

                        }

                    ],

                    "Jump": "OnFirstTime"

                },

                {

                    "$type": "Share.CConfigJump",

                    "Predicates": [

                        {

                            "$type": "Share.CConfigEventByHollowVariable",

                            "Key": "Event.2011504",

                            "CompareType": "Greater",

                            "Count": 0

                        }

                    ],

                    "Jump": "OnOthers"

                }

            ]

        },

        "OnFirstTime": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "Event.2011504",

                    "Value": 1

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnOthers": {

            "Actions": [

                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2011005_5", 

                    "Description": "Event2011005_6",

                    "QuestionDescription": "Event2011005_7",

                    "Choices": [

                        {

                            "OptionText": "Event2011005_8",

                            "OptionIcon1": 109,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnTriggerBattle"

                                        }

                                    ]

                                }

                            ]

                        },

                        {

                            "OptionText": "Event2011005_9",

                            "OptionIcon1": 106,

                            "OptionContents": [

                                {

                                    "Actions": [

                                        {

                                            "$type": "Share.CConfigJump",

                                            "Jump": "OnEnd2"

                                        }

                                    ]

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "OnTriggerBattle":{

            "Actions":[

                {

                    "$type":"Share.CConfigDropBattleID",

                    "Type":[71],

                    "SpecialName":"BattleID"

                },

                {

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID)",

                    "OnSuccess": "OnTriggerBattleSuc"

                }

            ]

        },

        "OnTriggerBattleSuc":{

            "Actions":[

                {

                  "$type": "Share.CConfigPreset",

                  "PerformKey" : "Chessboard_BattleEnd_None"

                },

                {

                    "$type":"Share.CConfigCloseDialog",

                    "CameraMove":false

                },

                {

                    "$type":"Share.CConfigJump",

                    "Jump":"OnDestroy"                    

                }

            ]

        },

        "OnDestroy": {

            "Actions": [

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "CustomBound",

                    "StretchKey": "Far",

                    "CanControl": false ,

                    "BoundIndexX": 20,

                    "BoundIndexY": 64

                },

                 //重置当前unstable空格子

                 {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 0,

                    "Position": "Relative",

                    "Radius": 10,

                    "ModificationNum": 21,

                    "ModificationType": 1,

                    "TargetEventID": [ 1003 ],

                    "TargetEventType": 1,

                    "TargetEventState":["Unstable"],

                    "TargetVisibleState":[ "Visible"],

                    "EventID": [ 1003 ],//空

                    "EventState": "Locked",

                    "VisibleState": "Visible"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 3,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 3001,2011003],

                    "TargetEventType": 1,

                    // "TargetEventState":["Unstable"],

                    // "TargetVisibleState":[ "Visible"],

                    "EventID": [ 3001 ],//空

                    "EventState": "ShowEvent",

                    "VisibleState": "VisibleAtGridAround"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 4,

                    "Y": 5,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 3001,2011003],

                    "TargetEventType": 1,

                    // "TargetEventState":["Unstable"],

                    // "TargetVisibleState":[ "Visible"],

                    "EventID": [ 3001 ],//空

                    "EventState": "ShowEvent",

                    "VisibleState": "VisibleAtGridAround"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 4,

                    "Y": 3,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1005,2011003],

                    "TargetEventType": 1,

                    // "TargetEventState":["Unstable"],

                    // "TargetVisibleState":[ "Visible"],

                    "EventID": [ 1005 ],//空

                    "EventState": "ShowEvent",

                    "VisibleState": "VisibleAtGridAround"

                },

                {

                    "$type": "Share.CConfigEventModification",

                    "X": 0,

                    "Y": 5,

                    "Position": "Absolute",

                    "Radius": 0,

                    "ModificationNum": 1,

                    "ModificationType": 1,

                    "TargetEventID": [ 1005,2011003],

                    "TargetEventType": 1,

                    // "TargetEventState":["Unstable"],

                    // "TargetVisibleState":[ "Visible"],

                    "EventID": [ 1005 ],//空

                    "EventState": "ShowEvent",

                    "VisibleState": "VisibleAtGridAround"

                },

                //销毁当前的箱子

                {

                    "$type": "Share.CConfigEventModification",

                    "X":0,

                    "Y":0,

                    "Position":"Relative",

                    "Radius":10,

                    "ModificationNum":21,

                    "ModificationType":1,

                    "TargetEventID": [

                        2011003

                    ],

                    "TargetEventType":1,

                    "EventID":[

                        1003

                    ],

                    "EventState":"Locked"

                    // "VisibleState":"Visible"

                },

                {

                    "$type":"Share.CConfigJump",

                    "Jump":"OnReset"                    

                }

            ]

        },

        "OnReset": {

            "Actions": [

                {

                    "$type": "Share.CConfigSwitchServer",

                    "Switch": [

                        {

                            "Weight": 10,

                            "Actions": [

                                {

                                    "$type": "Share.CConfigJump",

                                    "Jump": "OnCreateBox1"

                                }

                            ]

                        }

                    ]

                }

            ]

        },

        "OnCreateBox1":{

            "Actions":[

                {

                    "$type": "Share.CConfigEventModification",

                    "X":2,

                    "Y":4,

                    "Position":"Absolute",

                    "Radius":0,

                    "ModificationNum":1,

                    "ModificationType":1,

                    "TargetEventID": [

                        1003

                    ],

                    "TargetEventType":1,

                    "EventID":[

                        2011003

                    ],

                    "EventState":"ShowEvent",

                    "VisibleState":"Visible"

                },

                {

                    "$type":"Share.CConfigJump",

                    "Jump":"OnResetAfter"                    

                }

            ]

        },

        "OnResetAfter":{

            "Actions":[

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 0.5

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Back",

                    "Type": "Player",

                    "CanControl": true

                },

                {

                    "$type":"Share.CConfigSetConditionProgress",

                    "ConditionID":30060146,

                    "Progress":1,

                    "ModifyType":"Replace"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        },

        "OnEnd2": {

            "Actions": [

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

            ]

        }

    }

}

