mirror of
https://git.mero.moe/dimbreath/ZenlessData.git
synced 2024-11-08 19:48:44 +08:00
146 lines
3.5 KiB
JSON
146 lines
3.5 KiB
JSON
{
|
|
"AbilityName": "Spray_Default",
|
|
"AbilitySpecials": {
|
|
"IsActive": {
|
|
"Value": 0
|
|
},
|
|
"IsEnter": {
|
|
"Value": 0
|
|
}
|
|
},
|
|
"AbilityStacking": "Unique",
|
|
"DefaultModifier": {
|
|
"OnAdded": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Spray_Idle",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"Modifiers": {
|
|
"Spray_Active": {
|
|
"Duration": 0.1,
|
|
"ModifierStacking": "Unique",
|
|
"OnAdded": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_Active",
|
|
"ParamType": 1
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 1,
|
|
"ParamName": "IsActive",
|
|
"ParamType": "Float"
|
|
},
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Spray_UnactiveCountDown",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
},
|
|
"Spray_Idle": {
|
|
"Duration": -1,
|
|
"IgnoreTimeScale": false,
|
|
"ModifierMixins": [
|
|
{
|
|
"$type": "FieldRangeMixin",
|
|
"ColliderConfig": {
|
|
"ColliderAngleOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"ColliderPosOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"ColliderType": "Sphere",
|
|
"SphereColliderRadius": 3
|
|
},
|
|
"FieldEnterActions": [
|
|
{
|
|
"$type": "ApplyModifier",
|
|
"ModifierName": "Spray_Active",
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByIsLocalAvatar",
|
|
"IsLocalAvatar": true,
|
|
"Target": "Target"
|
|
},
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": 0,
|
|
"ParamName": "IsActive",
|
|
"ParamType": "Float",
|
|
"Target": "Self"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FieldExitActions": [
|
|
],
|
|
"FieldInitPosRot": {
|
|
"CoordsOption": "Self",
|
|
"NeedRaycastGround": true,
|
|
"Offset": {
|
|
"AngleOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"IsUseRotationXZ": false,
|
|
"IsUseRotationY": false,
|
|
"PositionOffset": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
}
|
|
},
|
|
"TargetOption": {
|
|
"$type": "ConfigPosRotReferTarget",
|
|
"OffsetReferTarget": "Self"
|
|
}
|
|
},
|
|
"IsFollow": true,
|
|
"TotalDuration": -1
|
|
}
|
|
],
|
|
"ModifierStacking": "Unique"
|
|
},
|
|
"Spray_UnactiveCountDown": {
|
|
"Duration": 4,
|
|
"ModifierStacking": "Refresh",
|
|
"OnRemoved": [
|
|
{
|
|
"$type": "SetAnimCtrlerParamAction",
|
|
"ParamName": "Trigger_Close",
|
|
"ParamType": 1,
|
|
"Predicates": [
|
|
{
|
|
"$type": "ByAbilitySpecial",
|
|
"CompareType": "Equal",
|
|
"Param": 0,
|
|
"ParamName": "IsEnter",
|
|
"ParamType": "Float",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "IsActive",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |