300 lines
No EOL
10 KiB
JSON
300 lines
No EOL
10 KiB
JSON
{
|
|
|
|
"ID": 2010523, //希望与绝望-重置
|
|
|
|
"Specials": {
|
|
|
|
//玩家当前坐标
|
|
|
|
"Xn":0,
|
|
|
|
"Yn":0,
|
|
|
|
//玩家上一步坐标
|
|
|
|
"X":0,
|
|
|
|
"Y":0,
|
|
|
|
|
|
|
|
//0-红 1-黄 2蓝
|
|
|
|
"Color":0
|
|
|
|
},
|
|
|
|
"Events": {
|
|
|
|
"OnHollowCreated": {
|
|
|
|
"Actions": [
|
|
|
|
//检测是够留色彩的标记
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "CountIn.2010521",
|
|
|
|
"Value": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "CountOut.2010522",
|
|
|
|
"Value": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"OnPlayerMove": {
|
|
|
|
"Actions": [
|
|
|
|
//拿到玩家当前位置
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Xn",
|
|
|
|
"SpecialValue":"playerpos(X)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Yn",
|
|
|
|
"SpecialValue":"playerpos(Y)"
|
|
|
|
},
|
|
|
|
//判断玩家位置结束
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "ColorStep_End",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Xn",
|
|
|
|
"Param": 3,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Yn",
|
|
|
|
"Param": 5,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "CountOut.2010522",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
//判断玩家位置开始
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "ColorStep_1",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Xn",
|
|
|
|
"Param": 3,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Yn",
|
|
|
|
"Param": 9,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "CountIn.2010521",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "ColorStep_2",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "CountIn.2010521",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventByHollowVariable",
|
|
|
|
"Key": "CountOut.2010522",
|
|
|
|
"CompareType": "Equal",
|
|
|
|
"Count": 0
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
"ColorStep_1":{
|
|
|
|
"Actions":[
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "CountIn.2010521",
|
|
|
|
"Value": 1
|
|
|
|
},
|
|
|
|
//更新玩家坐标
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"X",
|
|
|
|
"SpecialValue":"playerpos(X)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Y",
|
|
|
|
"SpecialValue":"playerpos(Y)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ColorStep_End":{
|
|
|
|
"Actions":[
|
|
|
|
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigSetHollowVariable",
|
|
|
|
"Key": "CountOut.2010522",
|
|
|
|
"Value": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "ColorStep_2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ColorStep_2":{
|
|
|
|
"Actions":[
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Red",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Color",
|
|
|
|
"Param": 0,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Yellow",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Color",
|
|
|
|
"Param": 1,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigJump",
|
|
|
|
"Jump": "Blue",
|
|
|
|
"Predicates": [
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventBySpecials",
|
|
|
|
"ParamName": "Color",
|
|
|
|
"Param": 2,
|
|
|
|
"CompareType": "Equal"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Red":{
|
|
|
|
"Actions":[
|
|
|
|
//上一步的坐标
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": "specials(X)",
|
|
|
|
"Y": "specials(Y)",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
2010515
|
|
|
|
], //红
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Color",
|
|
|
|
"SpecialValue":1
|
|
|
|
},
|
|
|
|
//更新玩家坐标
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"X",
|
|
|
|
"SpecialValue":"playerpos(X)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Y",
|
|
|
|
"SpecialValue":"playerpos(Y)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Yellow":{
|
|
|
|
"Actions":[
|
|
|
|
//上一步的坐标
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": "specials(X)",
|
|
|
|
"Y": "specials(Y)",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
2010516
|
|
|
|
], //黄
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Color",
|
|
|
|
"SpecialValue":2
|
|
|
|
},
|
|
|
|
//更新玩家坐标
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"X",
|
|
|
|
"SpecialValue":"playerpos(X)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Y",
|
|
|
|
"SpecialValue":"playerpos(Y)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"Blue":{
|
|
|
|
"Actions":[
|
|
|
|
//上一步的坐标
|
|
|
|
{
|
|
|
|
"$type": "Share.CConfigEventModification",
|
|
|
|
"X": "specials(X)",
|
|
|
|
"Y": "specials(Y)",
|
|
|
|
"Position": "Absolute",
|
|
|
|
"Radius": 0,
|
|
|
|
"ModificationNum": 1,
|
|
|
|
"ModificationType": 1,
|
|
|
|
"TargetEventType": 1,
|
|
|
|
"EventID": [
|
|
|
|
2010517
|
|
|
|
], //蓝色
|
|
|
|
"EventState": "ShowEvent",
|
|
|
|
"VisibleState": "Visible"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Color",
|
|
|
|
"SpecialValue":0
|
|
|
|
},
|
|
|
|
//更新玩家坐标
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"X",
|
|
|
|
"SpecialValue":"playerpos(X)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"$type":"Share.CConfigSetSpecial",
|
|
|
|
"SpecialName":"Y",
|
|
|
|
"SpecialValue":"playerpos(Y)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} |