//邦布 { "ID": 1039, "Events": { "OnCreate":{ "Actions":[ //报告自己位置 { "$type": "Share.CConfigSetHollowVariable", "Key": "test_getindex", "Value": "getindex(3,0,2,1,0)" }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyIndex_1038", "Value": "getindex(0,0,2)" }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyX_1038", "Value": "getpos(X,2)" }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyY_1038", "Value": "getpos(Y,2)" }, //初始化自己周边位置 { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyLeftIndex_1038", "Value": "scenevar(GoldenBuddyIndex_1038)"//左 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyRightIndex_1038", "Value": "scenevar(GoldenBuddyIndex_1038)"//右 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyUpIndex_1038", "Value": "scenevar(GoldenBuddyIndex_1038)"//上 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyButtonIndex_1038", "Value": "scenevar(GoldenBuddyIndex_1038)"//下 }, //报告自己周边位置 { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyLeftIndex_1038", "Value": "getindex(1,0,2,1,0)",//左 "Predicates":[ { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)-1", "Y":"scenevar(GoldenBuddyY_1038)", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "VisibleState":["Visible"], "Count":1, "CompareType":"Equal" }, { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)-1", "Y":"scenevar(GoldenBuddyY_1038)", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "State":["Finished"], "Count":0, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyRightIndex_1038", "Value": "getindex(1,0,2,0,0)",//右 "Predicates":[ { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)+1", "Y":"scenevar(GoldenBuddyY_1038)", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "VisibleState":["Visible"], "Count":1, "CompareType":"Equal" }, { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)+1", "Y":"scenevar(GoldenBuddyY_1038)", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "State":["Finished"], "Count":0, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyUpIndex_1038", "Value": "getindex(0,1,2,0,1)",//上 "Predicates":[ { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)", "Y":"scenevar(GoldenBuddyY_1038)-1", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "VisibleState":["Visible"], "Count":1, "CompareType":"Equal" }, { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)", "Y":"scenevar(GoldenBuddyY_1038)-1", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "State":["Finished"], "Count":0, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyButtonIndex_1038", "Value": "getindex(0,1,2,0,0)",//下 "Predicates":[ { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)", "Y":"scenevar(GoldenBuddyY_1038)+1", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "VisibleState":["Visible"], "Count":1, "CompareType":"Equal" }, { "$type":"Share.CConfigEventByEventState", "X":"scenevar(GoldenBuddyX_1038)", "Y":"scenevar(GoldenBuddyY_1038)+1", "NodeType":"All", "EventType":"All", "Position":"Absolute", "Radius":0, "State":["Finished"], "Count":0, "CompareType":"Equal" } ] } ] }, "OnStart": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "GoldenBuddyDead_1038", "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.CConfigSwitchServer", "Switch": [ { "Weight": 50, "Actions": [ { "$type":"Share.CConfigSetSpecial", "SpecialName":"BattleID", "SpecialValue":30141006 }, { "$type":"Share.CConfigSetChallenge", "ChallengeID":140010001 } ] }, { "Weight": 50, "Actions": [ { "$type":"Share.CConfigSetSpecial", "SpecialName":"BattleID", "SpecialValue":30141007 }, { "$type":"Share.CConfigSetChallenge", "ChallengeID":140030001 } ] }, { "Weight": 50, "Actions": [ { "$type":"Share.CConfigSetSpecial", "SpecialName":"BattleID", "SpecialValue":30141008 }, { "$type":"Share.CConfigSetChallenge", "ChallengeID":140020001 } ] }, { "Weight": 50, "Actions": [ { "$type":"Share.CConfigSetSpecial", "SpecialName":"BattleID", "SpecialValue":30141009 }, { "$type":"Share.CConfigSetChallenge", "ChallengeID":140020001 } ] }, { "Weight": 50, "Actions": [ { "$type":"Share.CConfigSetSpecial", "SpecialName":"BattleID", "SpecialValue":30141010 }, { "$type":"Share.CConfigSetChallenge", "ChallengeID":140010001 } ] } ] }, { "$type":"Share.CConfigSetBattleType", "BattleID":"specials(BattleID)", "Type":"Elite" }, { "$type": "Share.CConfigTriggerBattle", "BattleID": "specials(BattleID)", "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" } ] }, "OnFailure": { "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": "error:1039_{specials(BattleID)}", //error:1039 "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, "BattleID":0, "ChallengeID1":140010001, "ChallengeID2":140020001, "ChallengeID3":140030001 } }