HollowPS_TV_experiments/extras/zzz-0.1-jsons/Event2020718.json

187 lines
5.1 KiB
JSON

{
"ID": 2020718,//斩与穿,一层开关
"Events": {
"OnHollowCreated":{
"Actions":[
{
"$type": "Share.CConfigSetHollowVariable",
"Key": "Eventa.2020719",//a-初始为开
"Value": 0
}
]
},
"OnStart": {
"Actions": [
{
"$type": "Share.CConfigJump",
"Jump":"OnAndOff",
"Predicates":[
{
"$type": "Share.CConfigEventBySpecials",
"ParamName": "BattleEnd_1",
"Param":0,
"CompareType":"NotEqual"
}
]
},
{
"$type": "Share.CConfigOpenDialog"
},
{
"$type": "Share.CConfigLogText",
"Messages": [
"Event2020718_1"
]
},
{
"$type": "Share.CConfigCloseDialog"
},
//观测条件
{
"$type":"Share.CConfigSetConditionProgress",
"ConditionID":30060064,
"Progress":1,
"ModifyType":"Add"
},
//战斗计数
{
"$type": "Share.CConfigSetSpecial",
"SpecialName": "BattleEnd_1",
"SpecialValue": 1
},
{
"$type": "Share.CConfigJump",
"Jump":"OnAndOff"
}
]
},
"OnAndOff":{
"Actions":[
{
"$type": "Share.CConfigCameraMoveV2",
"StretchKey": "Target",
"Type": "CustomBound",
"BoundIndexX":10,
"BoundIndexY":30,
"CanControl":false,
"UseStretchZ":true,
"FreezeZ":true,
"Parallel":false
},
{
"$type": "Share.CConfigWaitSeconds",
"Time": 0.5
},
{
"$type": "Share.CConfigJump",
"Jump": "State_1",
"Predicates": //判断a格子是否是“开”状态
[
{
"$type": "Share.CConfigEventByHollowVariable",
"Key": "Eventa.2020719",
"CompareType": "Equal",
"Count": 0
}
]
},
{
"$type": "Share.CConfigJump",
"Jump": "State_2"
}
]
},
"State_1":{
"Actions":[
//关a
{
"$type": "Share.CConfigSetMapState",
"Position": "Absolute",
"NodeType": "All",
"X": 2,
"Y": 1,
"Radius": 0,
"Count": 1,
"FromVisibleState": ["Visible"],
"ToVisibleState": [ "VisibleByTriggerEvent" ]
},
//设置a为关
{
"$type": "Share.CConfigSetHollowVariable",
"Key": "Eventa.2020719",
"Value": -1
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd"
}
]
},
"State_2":{
//开a
"Actions":[
{
"$type": "Share.CConfigSetMapState",
"Position": "Absolute",
"NodeType": "All",
"X": 2,
"Y": 1,
"Radius": 0,
"Count": 1,
"FromVisibleState": ["VisibleByTriggerEvent"],
"ToVisibleState": [ "Visible" ]
},
//设置a为开
{
"$type": "Share.CConfigSetHollowVariable",
"Key": "Eventa.2020719",
"Value": 0
},
{
"$type": "Share.CConfigJump",
"Jump": "OnEnd"
}
]
},
"OnEnd":{
"Actions":[
{
"$type": "Share.CConfigWaitSeconds",
"Time": 0.5
},
{
"$type": "Share.CConfigCameraMoveV2",
"StretchKey": "Back",
"Type": "Back",
"CanControl":true,
"UseStretchZ":false,
"FreezeZ":true,
"Parallel":false
},
{
"$type": "Share.CConfigFinishEvent"
}
]
}
},
"Specials": {
"BattleID": 0,
"BattleEnd_1": 0 //开关计数
}
}