ZenlessData/Data/Device_Vehicle_MovingTrain_02_ControlDoor.json
2024-08-13 22:59:23 -03:00

56 lines
1.3 KiB
JSON

{
"AbilityName": "Device_Vehicle_MovingTrain_02_ControlDoor",
"AbilitySpecials": {
"OpenDoor": {
"Value": 1
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"DoorModifier": {
"Duration": 3,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_OpenDoor",
"ParamType": 1,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 1,
"ParamName": "OpenDoor",
"ParamType": "Integer"
}
],
"Target": "Self"
},
{
"$type": "SetAnimCtrlerParamAction",
"BoolVal": true,
"ParamName": "Trigger_CloseDoor",
"ParamType": 1,
"Predicates": [
{
"$type": "ByAbilitySpecial",
"CompareType": "Equal",
"Param": 0,
"ParamName": "OpenDoor",
"ParamType": "Integer"
}
],
"Target": "Self"
}
]
}
},
"OnAbilityStart": [
{
"$type": "ApplyModifier",
"ModifierName": "DoorModifier",
"Target": "Self"
}
]
}