ZenlessData/Data/Spray_Default.json

146 lines
3.5 KiB
JSON
Raw Permalink Normal View History

{
"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"
}
]
}
}
}