{ "ID": 2010908, //绝望滋生,全局事件2 //1.替身移动; "EventTypeTag": [ "Empty" ], "Specials": { "BridgeCount": 0, "PIndex": 53, //玩家初始index "Diff": 0, //储存玩家当前index与上一步index的差 "Empty": 0, "SwitchState": 0, //机关1的开关状态判断 //玩家坐标 "Player_X":0, "Player_Y":0 }, "Events": { "OnHollowCreated": { "Actions": [ //战斗计数进入二层清零,用于观测任务 // { // "$type": "Share.CConfigSetHollowVariable", // "Key": "BattleCount.20109", // "Value": 0 // }, //替身初始位置 { "$type": "Share.CConfigSetHollowVariable", "Key": "X.2010910", "Value": 9 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Y.2010920", "Value": 2 }, //第一层tips不再显示用 { "$type": "Share.CConfigSetHollowVariable", "Key": "TipCount.2010999", "Value": 1 }, //记录开关1开启状态用,0未开启,1开启 { "$type": "Share.CConfigSetHollowVariable", "Key": "Switch.2010900", "Value": 0 } //记录开关2开启状态用,0未开启,1开启 // { // "$type": "Share.CConfigSetHollowVariable", // "Key": "Switch.2010911", // "Value": 0 // } ] }, "OnPlayerMove": { "Actions": [ //拿到玩家坐标 { "$type":"Share.CConfigSetSpecial", "SpecialName":"Player_X", "SpecialValue":"playerpos(X)" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Player_Y", "SpecialValue":"playerpos(Y)" }, //去下层的观测任务 { "$type":"Share.CConfigJump", "Jump":"Quest", "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_X", "Param": 2, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_Y", "Param": 0, "CompareType": "Equal" } ] }, //还原格子 { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010919 ], //提示1 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010909 ], //开关 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010920 ], //提示2 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 1025 ], //丁尼 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010918 ], //目标点 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010901 ], //起始点 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010904 ], //起始点 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 1025 ], //丁尼 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010918 ], //开关 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 1005 ], //扭蛋 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010917 ], //精英 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010907 ], //替身 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigEventModification", "X": 5, "Y": 3, "Position": "Absolute", "Radius": 15, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010903 ], //普通战斗 "TargetEventType": 1, "TargetEventState": [ "Finished" ], "TargetVisibleState": [ "Visible" ], "EventID": [ 2010902 ], //空 "EventState": "Unstable", "VisibleState": "Visible" }, { "$type": "Share.CConfigSetMapState", "X": 5, "Y": 3, "Position": "Absolute", "NodeType": "All", "EventTypeTag": "Revert", "Radius": 15, "Count": 1, "FromState": [ "Finished" ], "ToState": [ "Unstable" ] }, //保险起见,判断方向前全部清零一次 { "$type": "Share.CConfigSetHollowVariable", "Key": "Right.2010901", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Left.2010902", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Up.2010903", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Down.2010904", "Value": 0 }, //得到index差值 playerpos(Index)-specials(PIndex) { "$type": "Share.CConfigSetSpecial", "SpecialName": "Diff", "SpecialValue": "playerpos(Index)-specials(PIndex)" }, //判断是否往右走(图中存在商店,可以连跳两格的情况) { "$type": "Share.CConfigSetHollowVariable", "Key": "Right.2010901", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Diff", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Right.2010901", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Diff", "Param": 2, "CompareType": "Equal" } ] }, //判断是否往左走 { "$type": "Share.CConfigSetHollowVariable", "Key": "Left.2010902", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Diff", "Param": -1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "Left.2010902", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Diff", "Param": -2, "CompareType": "Equal" } ] }, //判断是否往上走 { "$type": "Share.CConfigSetHollowVariable", "Key": "Up.2010903", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Diff", "Param": -2, "CompareType": "Less" } ] }, //判断是否往下走 { "$type": "Share.CConfigSetHollowVariable", "Key": "Down.2010904", "Value": 1, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Diff", "Param": 2, "CompareType": "Greater" } ] }, //更新Pindex的值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "PIndex", "SpecialValue": "playerpos(Index)" }, //边界格子 //右下 { "$type": "Share.CConfigJump", "Jump": "ToRD", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 0, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 } ] } ] }, //右上 { "$type": "Share.CConfigJump", "Jump": "ToRU", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 } ] } ] }, //上下 { "$type": "Share.CConfigJump", "Jump": "ToUD", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 1, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 } ] } ] }, //只左 { "$type": "Share.CConfigJump", "Jump": "ToL", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 9, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 }, { "$type": "Share.CConfigEventByEventState", "X": 5, "Y": 0, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 } ] } ] }, //只能左右走 { "$type": "Share.CConfigJump", "Jump": "ToRL", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 9, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 }, { "$type": "Share.CConfigEventByEventState", "X": 8, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 }, { "$type": "Share.CConfigEventByEventState", "X": 7, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 }, { "$type": "Share.CConfigEventByEventState", "X": 5, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 } ] } ] }, //(6,2)正常 { "$type": "Share.CConfigJump", "Jump": "ToRL", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 6, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 }, { "$type": "Share.CConfigEventByHollowVariable", "Key": "Switch.2010900", "CompareType": "Equal", "Count": 1 } ] }, //(6,2)道路未开 { "$type": "Share.CConfigJump", "Jump": "ToR", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 6, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 }, { "$type": "Share.CConfigEventByHollowVariable", "Key": "Switch.2010900", "CompareType": "Equal", "Count": 0 } ] }, //四通八达的格子 //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] }, //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToR": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToL": { "Actions": [ //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToRL": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToUD": { "Actions": [ //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToRLD": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToRLU": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] }, //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToRUD": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToLUD": { "Actions": [ //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] }, //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToLD": { "Actions": [ //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToLU": { "Actions": [ //得到向左的变量,跳转到往左走 { "$type": "Share.CConfigJump", "Jump": "GoLeft", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Left.2010902", "CompareType": "Equal", "Count": 1 } ] }, //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToRD": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向下的变量,跳转到往下走 { "$type": "Share.CConfigJump", "Jump": "GoDown", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Down.2010904", "CompareType": "Equal", "Count": 1 } ] } ] }, "ToRU": { "Actions": [ //得到向右的变量,跳转到往右走 { "$type": "Share.CConfigJump", "Jump": "GoRight", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Right.2010901", "CompareType": "Equal", "Count": 1 } ] }, //得到向上的变量,跳转到往上走 { "$type": "Share.CConfigJump", "Jump": "GoUp", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "Up.2010903", "CompareType": "Equal", "Count": 1 } ] } ] }, "GoRight": { "Actions": [ //下一步出现 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)+1", "Y": "scenevar(Y.2010920)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, //"TargetEventID": [ 2010902 ], "TargetEventType": 1, "EventID": [ 2010907 ], //替身 "EventState": "ShowEvent", "VisibleState": "Visible" }, //X自加 { "$type": "Share.CConfigSetHollowVariable", "Key": "X.2010910", "Value": "scenevar(X.2010910)+1" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)-1", "Y": "scenevar(Y.2010920)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010907 ], "TargetEventType": 1, "EventID": [ 2010902 ], "EventState": "Locked", "VisibleState": "Visible" }, //还原全局变量Right { "$type": "Share.CConfigSetHollowVariable", "Key": "Right.2010901", "Value": 0 }, //判断是否是目标点2格子 { "$type": "Share.CConfigJump", "Jump": "Switch2", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 5, "Y": 0, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] }, //判断是否是目标点1格子 { "$type": "Share.CConfigJump", "Jump": "Switch", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] } ] }, "GoLeft": { "Actions": [ //下一步出现 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)-1", "Y": "scenevar(Y.2010920)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, //"TargetEventID": [ 2010902 ], "TargetEventType": 1, "EventID": [ 2010907 ], //替身 "EventState": "ShowEvent", "VisibleState": "Visible" }, //X自加 { "$type": "Share.CConfigSetHollowVariable", "Key": "X.2010910", "Value": "scenevar(X.2010910)-1" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)+1", "Y": "scenevar(Y.2010920)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010907 ], "TargetEventType": 1, "EventID": [ 2010902 ], "EventState": "Locked", "VisibleState": "Visible" }, //还原全局变量Left { "$type": "Share.CConfigSetHollowVariable", "Key": "Left.2010902", "Value": 0 }, //判断是否是目标点2格子 { "$type": "Share.CConfigJump", "Jump": "Switch2", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 5, "Y": 0, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] }, //判断是否是目标点1格子 { "$type": "Share.CConfigJump", "Jump": "Switch", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] //替身 } ] } ] }, "GoUp": { "Actions": [ //下一步出现 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)", "Y": "scenevar(Y.2010920)-1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, //"TargetEventID": [ 2010902 ], "TargetEventType": 1, "EventID": [ 2010907 ], //替身 "EventState": "ShowEvent", "VisibleState": "Visible" }, //y自加 { "$type": "Share.CConfigSetHollowVariable", "Key": "Y.2010920", "Value": "scenevar(Y.2010920)-1" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)", "Y": "scenevar(Y.2010920)+1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010907 ], "TargetEventType": 1, "EventID": [ 2010902 ], "EventState": "Locked", "VisibleState": "Visible" }, //还原全局变量Up { "$type": "Share.CConfigSetHollowVariable", "Key": "Up.2010903", "Value": 0 }, //判断是否是目标点2格子 { "$type": "Share.CConfigJump", "Jump": "Switch2", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 5, "Y": 0, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] }, //判断是否是目标点1格子 { "$type": "Share.CConfigJump", "Jump": "Switch", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] } ] }, "GoDown": { "Actions": [ //下一步出现 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)", "Y": "scenevar(Y.2010920)+1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, //"TargetEventID": [ 2010902 ], "TargetEventType": 1, "EventID": [ 2010907 ], //替身 "EventState": "ShowEvent", "VisibleState": "Visible" }, //y自加 { "$type": "Share.CConfigSetHollowVariable", "Key": "Y.2010920", "Value": "scenevar(Y.2010920)+1" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "scenevar(X.2010910)", "Y": "scenevar(Y.2010920)-1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010907 ], "TargetEventType": 1, "EventID": [ 2010902 ], "EventState": "Locked", "VisibleState": "Visible" }, //还原全局变量Down { "$type": "Share.CConfigSetHollowVariable", "Key": "Down.2010904", "Value": 0 }, //判断是否是目标点2格子 { "$type": "Share.CConfigJump", "Jump": "Switch2", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 5, "Y": 0, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] }, //判断是否是目标点1格子 { "$type": "Share.CConfigJump", "Jump": "Switch", "Predicates": [ //小车在目标点的位置上 { "$type": "Share.CConfigEventByEventState", "X": 4, "Y": 2, "Position": "Absolute", "VisibleState": [ "Visible" ], "State": [ "ShowEvent" ], "Count": 1, "CompareType": "Equal", "Radius": 0, "EventID": [ 2010907 ] } ] } ] }, "Switch": { "Actions": [ //判断是否第一次 { "$type": "Share.CConfigJump", "Jump":"OnEnd", "Predicates": [ { "$type":"Share.CConfigEventBySpecials", "ParamName":"SwitchState", "Param":1, "CompareType":"Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "SwitchState", "SpecialValue": 1 }, // { // "$type": "Share.CConfigCameraMove", // "StretchKey": "Far", // "Type": "CustomBound", // "BoundIndexX": 1, // "BoundIndexY": 27 // }, { "$type": "Share.CConfigWaitSeconds", "Time": "0.5" }, //—————————————————————————————————————————————————————————————— //道路出现 { "$type": "Share.CConfigSetMapState", "X": 4, "Y": 1, "Position": "Absolute", "NodeType": "All", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": [ "Visible" ] }, { "$type": "Share.CConfigSetMapState", "X": 2, "Y": 2, "Position": "Absolute", "NodeType": "All", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": [ "Visible" ] }, { "$type": "Share.CConfigWaitSeconds", "Time": "0.1" }, { "$type": "Share.CConfigSetMapState", "X": 4, "Y": 0, "Position": "Absolute", "NodeType": "All", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": [ "Visible" ] }, { "$type": "Share.CConfigSetMapState", "X": 2, "Y": 1, "Position": "Absolute", "NodeType": "All", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": [ "Visible" ] }, { "$type": "Share.CConfigWaitSeconds", "Time": "0.1" }, { "$type": "Share.CConfigSetMapState", "X": 1, "Y": 1, "Position": "Absolute", "NodeType": "All", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": [ "Visible" ] }, //第二个目标点出现 { "$type": "Share.CConfigEventModification", "X": 5, "Y": 0, "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010917 ], "TargetEventType": 1, "EventID": [ 2010918 ], "EventState": "ShowEvent", "VisibleState": "Visible" }, //———————————————————————————————————————————————————————————— //提示:去下一个目标点 { "$type": "Share.CConfigShowTip", "TipID": 201090106, "Delay": 0 }, // { // "$type": "Share.CConfigWaitSeconds", // "Time": "1" // }, // { // "$type": "Share.CConfigCameraMove", // "StretchKey": "Back", // "Type": "Player" // }, { "$type": "Share.CConfigFreezeChessBoardCamera", "StretchKey": "Far", "IndexX": 1, "IndexY": 53 } ] }, "Switch2": { "Actions": [ // { // "$type": "Share.CConfigCameraMove", // "StretchKey": "Far", // "Type": "CustomBound", // "BoundIndexX": 1, // "BoundIndexY": 17 // }, { "$type": "Share.CConfigWaitSeconds", "Time": "0.5" }, //boss { "$type": "Share.CConfigSetMapState", "X": 2, "Y": 0, "Position": "Absolute", "NodeType": "All", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleByTriggerEvent" ], "ToVisibleState": [ "Visible" ] }, //Boss点开,替身消失 { "$type": "Share.CConfigEventModification", "X": 5, "Y": 0, "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2010907 ], "TargetEventType": 1, "EventID": [ 2010902 ], "EventState": "Locked", "VisibleState": "Visible" }, //提示 { "$type": "Share.CConfigShowTip", "TipID": 201090105, "Delay": 0 }, // { // "$type": "Share.CConfigWaitSeconds", // "Time": "1" // }, // { // "$type": "Share.CConfigCameraMove", // "StretchKey": "Back", // "Type": "Player" // }, // { // "$type": "Share.CConfigFreezeChessBoardCamera", // "StretchKey": "Far", // "IndexX": 1, // "IndexY": 53 // }, //一层下车踩到目标点 { "$type": "Share.CConfigSetConditionProgress", "ConditionID": 30060082, "Progress": 1, "ModifyType": "Add" }, //小车坐标失效 { "$type": "Share.CConfigSetHollowVariable", "Key": "X.2010910", "Value": -999 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "Y.2010920", "SpecialValue": -9999 } ] }, "Quest":{ "Actions":[ //找到深层的道路 { "$type":"Share.CConfigSetConditionProgress", "ConditionID":30060084, "Progress":1, "ModifyType":"Add" } ] }, "OnEnd": { "Actions": [ //无实际意义,空过用 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Empty", "SpecialValue": "specials(Empty)+1" } ] } } }