mirror of
https://git.mero.moe/dimbreath/ZenlessData.git
synced 2024-11-08 19:48:44 +08:00
83 lines
1.9 KiB
JSON
83 lines
1.9 KiB
JSON
{
|
|
"AbilityMixins": [
|
|
{
|
|
"$type": "AddInteractMixin",
|
|
"InteractKey": "Device_Prop_RailWrench",
|
|
"InteractTag": "Device_Prop_RailWrench",
|
|
"IsMonopolize": false,
|
|
"OnInteract": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "OpenModifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": 0,
|
|
"ParamName": "OpenStatus",
|
|
"ParamType": "Integer"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "CloseModifier",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": 1,
|
|
"ParamName": "OpenStatus",
|
|
"ParamType": "Integer"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"OnInteractForbidden": [
|
|
],
|
|
"OnInteractRemove": [
|
|
]
|
|
}
|
|
],
|
|
"AbilityName": "Device_Prop_RailWrench_Interact",
|
|
"AbilitySpecials": {
|
|
"OpenStatus": {
|
|
"Value": 0
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"Modifiers": {
|
|
"CloseModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": false,
|
|
"ParamName": "Bool_IsOpen",
|
|
"ParamType": 2,
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"OpenModifier": {
|
|
"Duration": -1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"BoolVal": true,
|
|
"ParamName": "Bool_IsOpen",
|
|
"ParamType": 2,
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "LDListenEntityAction",
|
|
"TargetKey": "RailWreanch_Open"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |