1
0
ZenlessData/Data/_unsorted/Activity_Pinball_SetVelocity.json
2026-09-09 00:49:36 +02:00

110 lines
2.9 KiB
JSON

{
"AbilityName": "Activity_Pinball_SetVelocity",
"AbilitySpecials": {
"AS_DashCost": {
"Value": 50
},
"AS_DashCostNeg": {
"Value": -50
},
"AS_DashSpeed": {
"Value": 28
},
"AS_RushActiveDuration": {
"Value": 0.8
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"Pinball_RushActive": {
"Duration": "%AS_RushActiveDuration",
"ModifierStacking": "Refresh"
}
},
"OnAbilityTrigger": [
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByPlayerPropertyValue",
"CompareType": "GreaterEqual",
"CustomDenominator": "Pinball_DashEnergyCost",
"CustomNumerator": "Pinball_DashEnergy",
"Denominator": "Custom",
"IsUsePercent": true,
"Numerator": "Custom",
"Target": "LocalAvatar",
"Val1": 1
}
],
"SuccessActions": [
{
"$type": "SetPinballVelocityAction",
"LockTargetID": "Pinball_Dash_LockTarget",
"Speed": "%AS_DashSpeed"
},
{
"$type": "TriggerSoundAction",
"Target": "Self",
"soundActionKey": "SA_Activity_Pinball_Sprint_Normal"
},
{
"$type": "ApplyModifier",
"ModifierName": "Pinball_RushActive",
"Target": "Caster"
},
{
"$type": "FireEffect",
"EffectPattern": "Eff_Pinball_Activity_40_chongci",
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": false,
"OffsetReferTarget": "Self"
}
},
"Target": "Self"
},
{
"$type": "SetAbilitySpecialsByPropertyAction",
"Amount": 0,
"CustomPropertyType": "Pinball_DashEnergyCost",
"ModifyFunction": "Replace",
"ParamName": "AS_DashCostNeg",
"Percentage": -1,
"PropertyType": "Custom",
"Target": "LocalAvatar"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_DashCostNeg",
"CustomPropertyType": "Pinball_DashEnergy",
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "LocalAvatar"
},
{
"$type": "TimeSlowByConfigKeyAction",
"ConfigKey": "ParryAid_TimeSlow_01",
"IsGlobal": true
}
]
}
]
}