1508 lines
No EOL
59 KiB
JSON
1508 lines
No EOL
59 KiB
JSON
{
|
||
|
||
"ID": 2020850, //紧急逃亡-全局3
|
||
|
||
"Specials": {
|
||
|
||
//移动敌人初始坐标
|
||
|
||
"Enemy1_X": 8,
|
||
|
||
"Enemy1_Y": 16,
|
||
|
||
"Enemy2_X": 9,
|
||
|
||
"Enemy2_Y": 19,
|
||
|
||
//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": [
|
||
|
||
//拿到玩家坐标
|
||
|
||
{
|
||
|
||
"$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": 13,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "Player_Y",
|
||
|
||
"Param": 10,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "TipCount",
|
||
|
||
"Param": 0,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
|
||
|
||
//观测任务1:首领战前全血量大于50%
|
||
|
||
{
|
||
|
||
"$type":"Share.CConfigJump",
|
||
|
||
"Jump":"Quest",
|
||
|
||
"Predicates":[
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "Player_X",
|
||
|
||
"Param": 12,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "Player_Y",
|
||
|
||
"Param": 7,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//观测任务-护盾流派检测
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetConditionProgress",
|
||
|
||
"ConditionID": 30060159,
|
||
|
||
"Progress": 1,
|
||
|
||
"ModifyType": "Add",
|
||
|
||
"Predicates": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByOr",
|
||
|
||
"Predicates": [
|
||
|
||
{
|
||
|
||
//护盾
|
||
|
||
"$type": "Share.CConfigEventByTarotCard",
|
||
|
||
"ItemID": "specials(Card_2)",
|
||
|
||
"CardType": 0,
|
||
|
||
"Count": 1,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
//护盾
|
||
|
||
"$type": "Share.CConfigEventByTarotCard",
|
||
|
||
"ItemID": "specials(Card_5)",
|
||
|
||
"CardType": 0,
|
||
|
||
"Count": 1,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//观测任务-闪避流派检测
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetConditionProgress",
|
||
|
||
"ConditionID": 30060160,
|
||
|
||
"Progress": 1,
|
||
|
||
"ModifyType": "Add",
|
||
|
||
"Predicates": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByOr",
|
||
|
||
"Predicates": [
|
||
|
||
{
|
||
|
||
//闪避
|
||
|
||
"$type": "Share.CConfigEventByTarotCard",
|
||
|
||
"ItemID": "specials(Card_3)",
|
||
|
||
"CardType": 0,
|
||
|
||
"Count": 1,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
//闪避
|
||
|
||
"$type": "Share.CConfigEventByTarotCard",
|
||
|
||
"ItemID": "specials(Card_6)",
|
||
|
||
"CardType": 0,
|
||
|
||
"Count": 1,
|
||
|
||
"CompareType": "Equal"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
//判断是否关门(是否到达这个区域)
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigJump",
|
||
|
||
"Jump": "MapRevert",
|
||
|
||
"Predicates": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventByHollowVariable",
|
||
|
||
"Key": "CloseDoor.2020834",
|
||
|
||
"CompareType": "Equal",
|
||
|
||
"Count": 1
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"MapRevert": {
|
||
|
||
"Actions": [
|
||
|
||
//还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetMapState",
|
||
|
||
"X": 7,
|
||
|
||
"Y": 16,
|
||
|
||
"Position": "Absolute",
|
||
|
||
"NodeType": "All",
|
||
|
||
"Radius": 3,
|
||
|
||
"Count": 1,
|
||
|
||
"FromState": [
|
||
|
||
"Finished"
|
||
|
||
],
|
||
|
||
"ToState": [
|
||
|
||
"Unstable"
|
||
|
||
]
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetMapState",
|
||
|
||
"X": 10,
|
||
|
||
"Y": 19,
|
||
|
||
"Position": "Absolute",
|
||
|
||
"NodeType": "All",
|
||
|
||
"Radius": 3,
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy1_X)",
|
||
|
||
"Y": "specials(Enemy1_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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": [
|
||
|
||
2020852
|
||
|
||
], //移动敌人
|
||
|
||
"EventState": "ShowEvent",
|
||
|
||
"VisibleState": "Visible"
|
||
|
||
},
|
||
|
||
//上一步还原
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventModification",
|
||
|
||
"X": "specials(Enemy2_X)",
|
||
|
||
"Y": "specials(Enemy2_Y)",
|
||
|
||
"Position": "Absolute",
|
||
|
||
"Radius": 0,
|
||
|
||
"ModificationNum": 1,
|
||
|
||
"ModificationType": 1,
|
||
|
||
"TargetEventID": [
|
||
|
||
2020852
|
||
|
||
],
|
||
|
||
"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"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"Quest":{
|
||
|
||
"Actions":[
|
||
|
||
//得到当前各角色血量
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigGetCharacterInfo",
|
||
|
||
"Property":"Hp",
|
||
|
||
"GetProperty":["Character1_Hp","Character2_Hp","Character3_Hp"]
|
||
|
||
},
|
||
|
||
//得到当前各角色血量最大值 HpMax_Battle
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigGetCharacterInfo",
|
||
|
||
"Property":"HpMax_Battle",
|
||
|
||
"GetProperty":["Character1_hpmax","Character2_hpmax","Character3_hpmax"]
|
||
|
||
},
|
||
|
||
//血量转换为百分比
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetSpecial",
|
||
|
||
"SpecialName": "Character1_Hp",
|
||
|
||
"SpecialValue": "(specials(Character1_Hp)/specials(Character1_hpmax))*100"
|
||
|
||
},
|
||
|
||
//判断全员血量是否大于50%
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigSetConditionProgress",
|
||
|
||
"ConditionID": 30060158,
|
||
|
||
"Progress": 1,
|
||
|
||
"ModifyType": "Add",
|
||
|
||
"Predicates": [
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "Character1_Hp",
|
||
|
||
"Param": 50,
|
||
|
||
"CompareType": "GreaterEqual"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "Character2_Hp",
|
||
|
||
"Param": 50,
|
||
|
||
"CompareType": "GreaterEqual"
|
||
|
||
},
|
||
|
||
{
|
||
|
||
"$type": "Share.CConfigEventBySpecials",
|
||
|
||
"ParamName": "Character3_Hp",
|
||
|
||
"Param": 50,
|
||
|
||
"CompareType": "GreaterEqual"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
},
|
||
|
||
"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"
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
]
|
||
|
||
}
|
||
|
||
}
|
||
|
||
} |