//邦布

{

    "ID": 2010814,

    "Events": {

        "OnCreate":{

            "Actions":[

                //报告自己位置

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "test_getindex",

                    "Value": "getindex(3,0,2,1,0)"

                },



                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyIndex_2010813",

                    "Value": "getindex(0,0,2)"

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyX_2010813",

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

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyY_2010813",

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

                },

                //初始化自己周边位置

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyLeftIndex_2010813",

                    "Value": "scenevar(GoldenBuddyIndex_2010813)"//左

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyRightIndex_2010813",

                    "Value": "scenevar(GoldenBuddyIndex_2010813)"//右

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyUpIndex_2010813",

                    "Value": "scenevar(GoldenBuddyIndex_2010813)"//上

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyButtonIndex_2010813",

                    "Value": "scenevar(GoldenBuddyIndex_2010813)"//下

                },

                //报告自己周边位置

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyLeftIndex_2010813",

                    "Value": "getindex(1,0,2,1,0)",//左

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)-1",

                            "Y":"scenevar(GoldenBuddyY_2010813)",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "VisibleState":["Visible"],

                            "Count":1,

                            "CompareType":"Equal"

                        },

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)-1",

                            "Y":"scenevar(GoldenBuddyY_2010813)",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "State":["Finished"],

                            "Count":0,

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyRightIndex_2010813",

                    "Value": "getindex(1,0,2,0,0)",//右

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)+1",

                            "Y":"scenevar(GoldenBuddyY_2010813)",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "VisibleState":["Visible"],

                            "Count":1,

                            "CompareType":"Equal"

                        },

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)+1",

                            "Y":"scenevar(GoldenBuddyY_2010813)",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "State":["Finished"],

                            "Count":0,

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyUpIndex_2010813",

                    "Value": "getindex(0,1,2,0,1)",//上

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)",

                            "Y":"scenevar(GoldenBuddyY_2010813)-1",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "VisibleState":["Visible"],

                            "Count":1,

                            "CompareType":"Equal"

                        },

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)",

                            "Y":"scenevar(GoldenBuddyY_2010813)-1",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "State":["Finished"],

                            "Count":0,

                            "CompareType":"Equal"

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyButtonIndex_2010813",

                    "Value": "getindex(0,1,2,0,0)",//下

                    "Predicates":[

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)",

                            "Y":"scenevar(GoldenBuddyY_2010813)+1",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "VisibleState":["Visible"],

                            "Count":1,

                            "CompareType":"Equal"

                        },

                        {

                            "$type":"Share.CConfigEventByEventState",

                            "X":"scenevar(GoldenBuddyX_2010813)",

                            "Y":"scenevar(GoldenBuddyY_2010813)+1",

                            "NodeType":"All",

                            "EventType":"All",

                            "Position":"Absolute",

                            "Radius":0,

                            "State":["Finished"],

                            "Count":0,

                            "CompareType":"Equal"

                        }

                    ]

                }

            ]

        },

        "OnStart": {

            "Actions": [

                {

                    "$type": "Share.CConfigSetHollowVariable",

                    "Key": "GoldenBuddyDead_2010813",

                    "Value": 1

                },





                {

                    "$type": "Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2010814_Title", //摇钱布！

                    "Description": "Event2010814_1", //前面以骸聚集地里有一只金灿灿的邦布，正拖着沉甸甸......

                    "QuestionDescription": "Event2010814_2", //这可是拍摄短片的绝佳素材，不能错过！

                    "Choices": [

                        {

                            "OptionText": "Event2010814_3", //得想办法把那个袋子弄到手！

                            "OptionIcon1": 109,

                            "OptionContents": [

                                {

                                    "Actions": 

                                    [

                                    ]

                                }

                            ]

                        }

                    ]

                },

                // {

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

                //     "Type":[32],

                //     "SpecialName":"BattleID"

                // },

                {

                    "$type":"Share.CConfigSetChallenge",

                    "ChallengeID":"specials(ChallengeID)"

                },

                {

                    "$type":"Share.CConfigSetBattleType",

                    "BattleID":"specials(BattleID1)",

                    "Type":"Elite"

                },

                {

                    //首次

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID1)",

                    "OnSuccess": "OnEnd",

                    "Predicates":[

                        {

                            //首次通过后不再出现

                            "$type":"Share.CConfigEventByMultipass",

                            "Count":1,

                            "CompareType":"Less"

                        }

                    ]

                },

                {

                    "$type":"Share.CConfigSetBattleType",

                    "BattleID":"specials(BattleID2)",

                    "Type":"Elite"

                },

                {

                    "$type": "Share.CConfigTriggerBattle",

                    "BattleID": "specials(BattleID2)",

                    "OnSuccess": "OnEnd"

                }

            ]

        },

        "OnEnd": {

            "Actions": [

                {

                  "$type": "Share.CConfigPreset",

                  "PerformKey" : "Chessboard_BattleEnd_None"

                },

                {

                    "$type":"Share.CConfigCloseDialog",

                    "CameraMove":false

                },

                {

                    "$type":"Share.CConfigOpenDialog"

                },

                {

                    "$type": "Share.CConfigChoiceServer",

                    "OptionsMode": "Normal",

                    "Title":"Event2010814_Title", //摇钱布！

                    "Description": "Event2010814_4", //摇钱布丢下了，惊人的以蛇形走位迅速逃没了踪影。摄像机都跟不上它的影子。

                    "QuestionDescription": "Event2010814_5", //算了，检查一下袋子吧。

                    "Choices": [

                        {

                            "OptionText": "Event2010814_6", //发现了可用的「萝卜」地图。

                            "OptionIcon1": 113,

                            "OptionContents": 

                            [

                                {

                                    "Actions": 

                                    [

                                    ]

                                }

                            ]

                        }

                    ]

                },

                {

                    "$type": "Share.CConfigCloseDialog"

                },

                //抬起

                //消除所有+金币、切层、商店

                {

                    "$type": "Share.CConfigCameraMove",

                    "StretchKey": "Far",

                    "Type": "CustomBound",

                    "BoundIndexX":"21",

                    "BoundIndexY":"66"

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                // {

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

                //     "Position": "Absolute",

                //     "NodeType": "All",

                //     "X": 3,

                //     "Y": 4,

                //     "Radius": 7,

                //     "Count": 23,

                //     "FromVisibleState": [

                //         "Visible"

                //     ],

                //     "ToState": ["Finished"],

                //     "ExcludePlayerPos":true

                // },

                {

                    "$type": "Share.CConfigSetMapState",

                    "Position": "Absolute",

                    "NodeType": "All",

                    "X": 3,

                    "Y": 4,

                    "Radius": 7,

                    "Count": 23,

                    "FromVisibleState": [

                        "VisibleByTriggerEvent"

                    ],

                    "ToVisibleState": ["Visible"],

                    "ExcludePlayerPos":true

                },

                // {

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

                //     "X": 3,

                //     "Y": 4,

                //     "Position": "Absolute",

                //     "Radius": 0,

                //     "ModificationNum": 1,

                //     "ModificationType": 1,

                //     "TargetEventID": [ 1000 ],

                //     "TargetEventType": 1,

                //     //"TargetEventState": "Locked",

                //     //"TargetVisibleState": "Visible",

                //     "EventID": [ 2010815 ],

                //     "EventState": "ShowEvent",

                //     "VisibleState": "Visible"

                // },

                {

                    "$type": "Share.CConfigShowTip",

                    "TipID": 201080901

                },

                {

                    "$type": "Share.CConfigWaitSeconds",

                    "Time": 1

                },

                {

                    "$type": "Share.CConfigCameraMove",

                    "Type": "Player",

                    "StretchKey": "Back"

                },

                {

                    "$type": "Share.CConfigFinishEvent"

                }

                

            ]

        }

    },

    "Specials": {

        "Difficulty":31,

        "ChallengeID":140000001,

        "BattleID1":10102024,

        "BattleID2":10102025

    }

}

