{ "ID": 2011001, "Specials": { "BattleID":0 }, "Events": { "OnStart":{ "Actions":[ { "$type": "Share.CConfigJump", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.2011001", "CompareType": "Equal", "Count": 0 } ], "Jump": "OnFirstTime" }, { "$type": "Share.CConfigJump", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Event.2011001", "CompareType": "Greater", "Count": 0 } ], "Jump": "OnOthers" } ] }, "OnFirstTime": { "Actions": [ { "$type": "Share.CConfigSetHollowVariable", "Key": "Event.2011001", "Value": 1 }, { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event2011001_1", //紧急救援 "Description": "Event2011001_2", //太长了不复制了 "QuestionDescription": "Event2011001_3", "Choices": [ { "OptionText": "Event2011001_4", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] } ] } ] } ] }, "OnOthers": { "Actions": [ { "$type": "Share.CConfigOpenDialog" }, { "$type": "Share.CConfigChoiceServer", "OptionsMode": "Normal", "Title":"Event2011001_5", "Description": "Event2011001_6", "QuestionDescription": "Event2011001_7", "Choices": [ { "OptionText": "Event2011001_8", "OptionIcon1": 109, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnTriggerBattle" } ] } ] }, { "OptionText": "Event2011001_9", "OptionIcon1": 106, "OptionContents": [ { "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnEnd2" } ] } ] } ] } ] }, "OnTriggerBattle":{ "Actions":[ { "$type":"Share.CConfigDropBattleID", "Type":[70], "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": 5, "BoundIndexY": 18 }, //重置当前unstable空格子 { "$type": "Share.CConfigEventModification", "X": 0, "Y": 0, "Position": "Relative", "Radius": 10, "ModificationNum": 16, "ModificationType": 1, "TargetEventID": [ 1003 ], "TargetEventType": 1, "TargetEventState":["Unstable"], "TargetVisibleState":[ "Visible"], "EventID": [ 1003 ],//空 "EventState": "Locked", "VisibleState": "Visible" }, //销毁当前的箱子 { "$type": "Share.CConfigEventModification", "X":0, "Y":0, "Position":"Relative", "Radius":10, "ModificationNum":16, "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" } ] }, { "Weight": 10, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnCreateBox2" } ] }, { "Weight": 10, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnCreateBox3" } ] }, { "Weight": 10, "Actions": [ { "$type": "Share.CConfigJump", "Jump": "OnCreateBox4" } ] } ] } ] }, "OnCreateBox1":{ "Actions":[ { "$type": "Share.CConfigEventModification", "X":2, "Y":1, "Position":"Absolute", "Radius":0, "ModificationNum":1, "ModificationType":1, "TargetEventID": [ 1003 ], "TargetEventType":1, "EventID":[ 2011003 ], "EventState":"ShowEvent", "VisibleState":"Visible" }, { "$type":"Share.CConfigJump", "Jump":"OnResetAfter" } ] }, "OnCreateBox2":{ "Actions":[ { "$type": "Share.CConfigEventModification", "X":2, "Y":2, "Position":"Absolute", "Radius":0, "ModificationNum":1, "ModificationType":1, "TargetEventID": [ 1003 ], "TargetEventType":1, "EventID":[ 2011003 ], "EventState":"ShowEvent", "VisibleState":"Visible" }, { "$type":"Share.CConfigJump", "Jump":"OnResetAfter" } ] }, "OnCreateBox3":{ "Actions":[ { "$type": "Share.CConfigEventModification", "X":3, "Y":1, "Position":"Absolute", "Radius":0, "ModificationNum":1, "ModificationType":1, "TargetEventID": [ 1003 ], "TargetEventType":1, "EventID":[ 2011003 ], "EventState":"ShowEvent", "VisibleState":"Visible" }, { "$type":"Share.CConfigJump", "Jump":"OnResetAfter" } ] }, "OnCreateBox4":{ "Actions":[ { "$type": "Share.CConfigEventModification", "X":3, "Y":2, "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": 1 }, { "$type": "Share.CConfigCameraMove", "StretchKey": "Back", "Type": "Player", "CanControl": false }, { "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060146, "Progress":1, "ModifyType":"Replace" }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnEnd": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigWaitSeconds", "Time": 0.5 }, { "$type": "Share.CConfigCameraMove", "Type": "CustomBound", "StretchKey": "Far", "CanControl": false , "BoundIndexX": 5, "BoundIndexY": 18 }, { "$type": "Share.CConfigShowTip", "TipID": 201100101 }, { "$type": "Share.CConfigShowTip", "TipID": 201100102 }, { "$type": "Share.CConfigWaitSeconds", "Time": 4 }, { "$type": "Share.CConfigCameraMove", "StretchKey": "Back", "Type": "Player", "CanControl": false }, { "$type": "Share.CConfigFinishEvent" } ] }, "OnEnd2": { "Actions": [ { "$type": "Share.CConfigCloseDialog" }, { "$type": "Share.CConfigFinishEvent" } ] } } }