{ "ID": 2020842, //紧急逃亡-全局2 "Specials": { //移动敌人初始坐标 "Enemy1_X": 6, "Enemy1_Y": 0, "Enemy2_X": 5, "Enemy2_Y": 3, //E1 "E1_Side1": 1, "E1_Side2": 0, "E1_Side3": 0, "E1_Side4": 0, //E2 "E2_Side1": 0, "E2_Side2": 0, "E2_Side3": 1, "E2_Side4": 0, //核心卡ID "Card_1": 1000608, //绝境-核心 "Card_2": 1000408, //护盾-核心 "Card_3": 1000808, //闪避-核心 "Card_4": 1000601, "Card_5": 1000401, "Card_6": 1000801, //玩家坐标 "Player_X":0, "Player_Y":0, //血量百分比计算 //角色血量 "Character1_Hp":0, "Character2_Hp":0, "Character3_Hp":0, //角色血量最大值 "Character1_hpmax":0, "Character2_hpmax":0, "Character3_hpmax":0, "TipCount":0 }, "Events": { "OnHollowCreated": { "Actions": [ //关门标记 { "$type": "Share.CConfigSetHollowVariable", "Key": "CloseDoor.2020834", "Value": 0 }, //区域内击败敌人数量 { "$type": "Share.CConfigSetHollowVariable", "Key": "EnemyCount.2020832", "Value": 0 } ] }, "OnPlayerMove": { "Actions": [ //判断动画 //清零 //a { "$type": "Share.CConfigSetHollowVariable", "Key": "AniLeft.2020800", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniRight.2020811", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniUp.2020822", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniDown.2020833", "Value": 0 }, //b { "$type": "Share.CConfigSetHollowVariable", "Key": "AniLeft.20208009", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniRight.20208119", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniUp.20208229", "Value": 0 }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniDown.20208339", "Value": 0 }, //拿到玩家坐标 { "$type":"Share.CConfigSetSpecial", "SpecialName":"Player_X", "SpecialValue":"playerpos(X)" }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"Player_Y", "SpecialValue":"playerpos(Y)" }, //隐藏TIPS // { // "$type":"Share.CConfigJump", // "Jump":"Tips_1", // "Predicates":[ // { // "$type": "Share.CConfigEventBySpecials", // "ParamName": "Player_X", // "Param": 10, // "CompareType": "Equal" // }, // { // "$type": "Share.CConfigEventBySpecials", // "ParamName": "Player_Y", // "Param": 19, // "CompareType": "Equal" // }, // { // "$type": "Share.CConfigEventBySpecials", // "ParamName": "TipCount", // "Param": 0, // "CompareType": "Equal" // } // ] // }, //隐藏位置揭露 { "$type": "Share.CConfigSetMapState", "X": 9, "Y": 12, "Position": "Absolute", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleAtGridAround" ], "ToVisibleState": ["Visible"], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_X", "Param": 7, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_Y", "Param": 12, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetMapState", "X": 9, "Y": 11, "Position": "Absolute", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleAtGridAround" ], "ToVisibleState": ["Visible"], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_X", "Param": 7, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_Y", "Param": 11, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetMapState", "X": 9, "Y": 10, "Position": "Absolute", "Radius": 0, "Count": 1, "FromVisibleState": [ "VisibleAtGridAround" ], "ToVisibleState": ["Visible"], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_X", "Param": 8, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_Y", "Param": 9, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetMapState", "X": 10, "Y": 11, "Position": "Absolute", "Radius": 2, "Count": 9, "FromVisibleState": [ "VisibleByTriggerEvent", "VisibleAtGridAround" ], "ToVisibleState": ["Visible"], "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_X", "Param": 10, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Player_Y", "Param": 9, "CompareType": "Equal" } ] }, //观测任务-1个S骸章 { "$type": "Share.CConfigSetConditionProgress", "ConditionID": 30060159, "Progress": 1, "ModifyType": "Add", "Predicates": [ { "$type": "Share.CConfigEventByTarotCard", "CardType": 0, "Count": 1, "CardRare": [ 4 ], "CompareType": "Equal" } ] }, //观测任务-3个S骸章 { "$type": "Share.CConfigSetConditionProgress", "ConditionID": 30060160, "Progress": 1, "ModifyType": "Add", "Predicates": [ { "$type": "Share.CConfigEventByTarotCard", "CardType": 0, "Count": 3, "CardRare": [ 4 ], "CompareType": "Equal" } ] }, //判断是否关门(是否到达这个区域) { "$type": "Share.CConfigJump", "Jump": "MapRevert", "Predicates": [ { "$type": "Share.CConfigEventByHollowVariable", "Key": "CloseDoor.2020834", "CompareType": "Equal", "Count": 1 } ] } ] }, "MapRevert": { "Actions": [ //还原 { "$type": "Share.CConfigSetMapState", "X": 4, "Y": 0, "Position": "Absolute", "NodeType": "All", "Radius": 3, "Count": 1, "FromState": [ "Finished" ], "ToState": [ "Unstable" ] }, { "$type": "Share.CConfigSetMapState", "X": 6, "Y": 3, "Position": "Absolute", "NodeType": "All", "Radius": 1, "Count": 1, "FromState": [ "Finished" ], "ToState": [ "Unstable" ] }, { "$type": "Share.CConfigSetMapState", "X": 7, "Y": 2, "Position": "Absolute", "NodeType": "All", "Radius": 1, "Count": 1, "FromState": [ "Finished" ], "ToState": [ "Unstable" ] }, { "$type": "Share.CConfigJump", "Jump": "EnemyMove" } ] }, "EnemyMove": { "Actions": [ //判断敌人1/敌人2在哪条边移动 //敌人1side1,敌人2side3 { "$type": "Share.CConfigJump", "Jump": "EnemyMoveState1", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side1", "Param": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side3", "Param": 1, "CompareType": "Equal" } ] } ] }, //敌人1side2,敌人2side4 { "$type": "Share.CConfigJump", "Jump": "EnemyMoveState2", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side2", "Param": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side4", "Param": 1, "CompareType": "Equal" } ] } ] }, //敌人1side3,敌人2side1 { "$type": "Share.CConfigJump", "Jump": "EnemyMoveState3", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side3", "Param": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side1", "Param": 1, "CompareType": "Equal" } ] } ] }, //敌人1side4,敌人2side1 { "$type": "Share.CConfigJump", "Jump": "EnemyMoveState4", "Predicates": [ { "$type": "Share.CConfigEventByOr", "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side4", "Param": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side1", "Param": 1, "CompareType": "Equal" } ] } ] } ] }, "EnemyMoveState1": { //敌人1往右走,敌人2往左走 "Actions": [ //判断敌人1右侧/敌人2左侧是否为墙壁 { "$type": "Share.CConfigJump", "Jump": "Enemy1D2U", "Predicates": [ { "$type": "Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy1_X)+1", "Y": "specials(Enemy1_Y)", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy2_X)-1", "Y": "specials(Enemy2_Y)", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" } ] } ] }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)+1", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_X", "SpecialValue": "specials(Enemy1_X)+1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)-1", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_X", "SpecialValue": "specials(Enemy2_X)-1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "EnemyMoveState2": { //敌人1往下走,敌人2往上走 "Actions": [ //判断敌人1下侧/敌人2上侧是否为墙壁 { "$type": "Share.CConfigJump", "Jump": "Enemy1L2R", "Predicates": [ { "$type": "Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)+1", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)-1", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" } ] } ] }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)+1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_Y", "SpecialValue": "specials(Enemy1_Y)+1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)-1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_Y", "SpecialValue": "specials(Enemy2_Y)-1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "EnemyMoveState3": { //敌人1往左走,敌人2往右走 "Actions": [ //判断敌人1左侧/敌人2右侧是否为墙壁 { "$type": "Share.CConfigJump", "Jump": "Enemy1U2D", "Predicates": [ { "$type": "Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy1_X)-1", "Y": "specials(Enemy1_Y)", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy2_X)+1", "Y": "specials(Enemy2_Y)", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" } ] } ] }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)-1", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_X", "SpecialValue": "specials(Enemy1_X)-1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)+1", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_X", "SpecialValue": "specials(Enemy2_X)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "EnemyMoveState4": { //敌人1往上走,敌人2往下走 "Actions": [ //判断敌人1上侧/敌人2下侧是否为墙壁 { "$type": "Share.CConfigJump", "Jump": "Enemy1R2L", "Predicates": [ { "$type": "Share.CConfigEventByNot", "Predicates": [ { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)-1", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" }, { "$type": "Share.CConfigEventByEventState", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)+1", "NodeType": "All", "EventType": "All", "Position": "Absolute", "Radius": 0, "VisibleState": [ "Visible" ], "Count": 1, "CompareType": "Equal" } ] } ] }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)-1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_Y", "SpecialValue": "specials(Enemy1_Y)-1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)+1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_Y", "SpecialValue": "specials(Enemy2_Y)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Enemy1D2U": { "Actions": [ //换边 //敌人1 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side1", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side2", "SpecialValue": 1 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side3", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side4", "SpecialValue": 0 }, //敌人2 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side1", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side2", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side3", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side4", "SpecialValue": 1 }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)+1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_Y", "SpecialValue": "specials(Enemy1_Y)+1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)-1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_Y", "SpecialValue": "specials(Enemy2_Y)-1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Enemy1L2R": { "Actions": [ //换边 //敌人1 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side1", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side2", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side3", "SpecialValue": 1 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side4", "SpecialValue": 0 }, //敌人2 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side1", "SpecialValue": 1 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side2", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side3", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side4", "SpecialValue": 0 }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)-1", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_X", "SpecialValue": "specials(Enemy1_X)-1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)+1", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_X", "SpecialValue": "specials(Enemy2_X)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Enemy1U2D": { "Actions": [ //换边 //敌人1 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side1", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side2", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side3", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side4", "SpecialValue": 1 }, //敌人2 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side1", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side2", "SpecialValue": 1 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side3", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side4", "SpecialValue": 0 }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)-1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_Y", "SpecialValue": "specials(Enemy1_Y)-1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)+1", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新Y值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_Y", "SpecialValue": "specials(Enemy2_Y)+1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Enemy1R2L": { "Actions": [ //换边 //敌人1 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side1", "SpecialValue": 1 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side2", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side3", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E1_Side4", "SpecialValue": 0 }, //敌人2 { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side1", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side2", "SpecialValue": 0 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side3", "SpecialValue": 1 }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "E2_Side4", "SpecialValue": 0 }, //敌人1 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)+1", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020844 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy1_X)", "Y": "specials(Enemy1_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020844 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_X", "SpecialValue": "specials(Enemy1_X)+1" }, //敌人2 //下一步出现 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)-1", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventType": 1, "EventID": [ 2020855 ], //移动敌人 "EventState": "ShowEvent", "VisibleState": "Visible" }, //上一步还原 { "$type": "Share.CConfigEventModification", "X": "specials(Enemy2_X)", "Y": "specials(Enemy2_Y)", "Position": "Absolute", "Radius": 0, "ModificationNum": 1, "ModificationType": 1, "TargetEventID": [ 2020855 ], "TargetEventType": 1, "EventID": [ 1000 ], "EventState": "Unstable", "VisibleState": "Visible" }, //更新X值 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_X", "SpecialValue": "specials(Enemy2_X)-1" }, { "$type": "Share.CConfigJump", "Jump": "OnEnd" } ] }, "Tips_1":{ "Actions":[ { "$type": "Share.CConfigShowTip", "TipID": 202080513,//咦,那里是 "Delay": 0 }, { "$type":"Share.CConfigSetSpecial", "SpecialName":"TipCount", "SpecialValue":1 } ] }, "OnEnd": { "Actions": [ //判断玩家是否触发了敌人,如果触发了,则无效坐标 { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy1_X", "SpecialValue": 999, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Enemy1_X", "Param": "playerpos(X)", "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Enemy1_Y", "Param": "playerpos(Y)", "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetSpecial", "SpecialName": "Enemy2_X", "SpecialValue": 999, "Predicates": [ { "$type": "Share.CConfigEventBySpecials", "ParamName": "Enemy2_X", "Param": "playerpos(X)", "CompareType": "Equal" }, { "$type": "Share.CConfigEventBySpecials", "ParamName": "Enemy2_Y", "Param": "playerpos(Y)", "CompareType": "Equal" } ] }, //判断后续敌人1 { "$type": "Share.CConfigSetHollowVariable", "Key": "AniLeft.2020800", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side1", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniRight.2020811", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side3", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniUp.2020822", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side2", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniDown.2020833", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E1_Side4", "Param": 1, "CompareType": "Equal" } ] }, //判断后续敌人2 { "$type": "Share.CConfigSetHollowVariable", "Key": "AniLeft.20208009", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side1", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniRight.20208119", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side3", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniUp.20208229", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side2", "Param": 1, "CompareType": "Equal" } ] }, { "$type": "Share.CConfigSetHollowVariable", "Key": "AniDown.20208339", "Value": 1, "Predicates":[ { "$type": "Share.CConfigEventBySpecials", "ParamName": "E2_Side4", "Param": 1, "CompareType": "Equal" } ] } ] } } }