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

170 lines
3.9 KiB
JSON

{
"AbilityName": "Activity_Pinball_FeverItem",
"AbilitySpecials": {
"AS_FeverRecover": {
"Value": 25
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"Activity_Pinball_FeverItem_Recover": {
"Duration": 0.1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ApplyAbilityAction",
"AbilityID": 799900356,
"IsAutoTrigger": false,
"Target": "LocalAvatar"
},
{
"$type": "SetTargetAbilitySpecialAction",
"DoRefresh": true,
"Params": [
{
"AbilityName": "Activity_Pinball_AddFever",
"AbilitySpecials": [
{
"ModifyFunction": "Replace",
"Param": "%AS_FeverRecover",
"ParamName": "AS_FeverItemRecover",
"ParamType": "Float"
}
]
}
],
"Target": "LocalAvatar"
},
{
"$type": "SendCustomEvent",
"EventKey": "Activity_Pinball_FeverItem_Recover",
"IsInstant": true,
"Target": "LocalAvatar"
}
]
},
"Activity_Pinball_RecoverEffect": {
"Duration": 0.2,
"ModifierStacking": "Unique",
"OnAdded": [
]
}
},
"OnAbilityTrigger": [
{
"$type": "ApplyModifier",
"ModifierName": "Activity_Pinball_FeverItem_Recover",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "Activity_Pinball_RecoverEffect",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Other"
},
{
"$type": "FireEffect",
"EffectPattern": "Eff_Pinball_Activity_49_YellowLight",
"EffectScale": {
"OverrideScaleX": 1.5,
"OverrideScaleY": 1.5,
"OverrideScaleZ": 1.5
},
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"NeedRaycastGround": false,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0.2,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Other"
}
},
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Other"
},
{
"$type": "FireEffect",
"EffectPattern": "Eff_Pinball_Activity_74_Glow",
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"NeedRaycastGround": false,
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": false,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 0.5,
"z": 0
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"OffsetReferTarget": "Self"
}
},
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
},
{
"$type": "SendEventToViewObjectAction",
"EventName": "Activity_Pinball_FeverItem_Pickup",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
},
{
"$type": "SendEventToViewObjectAction",
"EventName": "Event_Pinball_Contact",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
}
]
}