mirror of
https://git.mero.moe/dimbreath/ZenlessData.git
synced 2024-11-09 03:58:45 +08:00
145 lines
3.6 KiB
JSON
145 lines
3.6 KiB
JSON
{
|
|
"AbilityName": "Spray_Default",
|
|
"AbilitySpecials": {
|
|
"IsActive": {
|
|
"Value": 0.0
|
|
},
|
|
"IsEnter": {
|
|
"Value": 0.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.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"ColliderPosOffset": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.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.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"IsUseRotationXZ": false,
|
|
"IsUseRotationY": false,
|
|
"PositionOffset": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.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.0,
|
|
"ParamName": "IsEnter",
|
|
"ParamType": "Float",
|
|
"Target": "Self"
|
|
}
|
|
],
|
|
"Target": "Self"
|
|
},
|
|
{
|
|
"$type": "SetAbilitySpecialAction",
|
|
"ModifyFunction": "Replace",
|
|
"Param": 0,
|
|
"ParamName": "IsActive",
|
|
"ParamType": "Float"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |