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

160 lines
3.6 KiB
JSON

{
"AbilityName": "Activity_Pinball_HPItem",
"AbilitySpecials": {
"AS_HPRecover": {
"Value": 20
}
},
"AbilityStacking": "Unique",
"Modifiers": {
"Activity_Pinball_HPItem_Recover": {
"Duration": 0.1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "ModifyProperty",
"Amount": "%AS_HPRecover",
"CustomPropertyType": "Pinball_BaseHP",
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "LocalAvatar"
}
]
},
"Activity_Pinball_HP_RecoverEffect": {
"Duration": 0.2,
"ModifierStacking": "Unique",
"OnAdded": [
]
}
},
"OnAbilityTrigger": [
{
"$type": "ApplyModifier",
"ModifierName": "Activity_Pinball_HPItem_Recover",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
},
{
"$type": "ApplyModifier",
"ModifierName": "Activity_Pinball_HP_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_HPItem_Pickup",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
},
{
"$type": "SendEventToViewObjectAction",
"EventName": "Activity_Pinball_Crowd_Pickup_Global",
"IsAvatarGlobalEvent": true,
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "LocalAvatar"
},
{
"$type": "SendEventToViewObjectAction",
"EventName": "Event_Pinball_Contact",
"Predicates": [
{
"$type": "ByPinballContact",
"OtherKind": "Ball"
}
],
"Target": "Self"
}
]
}