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

148 lines
3.8 KiB
JSON

{
"AbilityName": "Common_Pinball_Collision",
"AbilitySpecials": {
"AS_DashEnergyPerHit": {
"Value": 0
},
"AS_SkillEnergyPerHit": {
"Value": 0
}
},
"AbilityStacking": "Unique",
"DefaultModifier": {
},
"Modifiers": {
"Activity_Pinball_Launch_FirstHitPickupReady": {
"Duration": 0.1,
"ModifierStacking": "Refresh"
},
"Common_Pinball_CollisionHit_Modifier": {
"Duration": 0.1,
"ModifierStacking": "Unique",
"OnAdded": [
{
"$type": "FireEffect",
"EffectPattern": "Eff_Pinball_Activity_57_Hit",
"EffectScale": {
"OverrideScaleX": 5,
"OverrideScaleY": 5,
"OverrideScaleZ": 5
},
"FireEffectPosRot": {
"CoordsOption": "ReferTarget",
"Offset": {
"AngleOffset": {
"x": 0,
"y": 0,
"z": 0
},
"IsUseRotationXZ": true,
"IsUseRotationY": true,
"PositionOffset": {
"x": 0,
"y": 1,
"z": 0.7
}
},
"TargetOption": {
"$type": "ConfigPosRotReferTarget",
"IsUseAttachPointPos": true,
"IsUseAttachPointRotation": true,
"OffsetReferTarget": "Self"
}
},
"Target": "Self"
},
{
"$type": "AttackCameraShakeAction",
"ShakeConfigKey": "Avatar_Common_BreakStun_CamShake_01",
"Target": "LocalAvatar"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_DashEnergyPerHit",
"CustomPropertyType": "Pinball_DashEnergy",
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "LocalAvatar"
},
{
"$type": "ModifyProperty",
"Amount": "%AS_SkillEnergyPerHit",
"CustomPropertyType": "Pinball_SkillEnergy",
"PropertyModifyFunction": "Add",
"PropertyType": "Custom",
"Target": "LocalAvatar"
},
{
"$type": "SendBehaviorTreeEventAction",
"EventName": "HitStop",
"Target": "Self"
}
]
}
},
"OnAbilityTrigger": [
{
"$type": "ApplyModifier",
"ModifierName": "Common_Pinball_CollisionHit_Modifier",
"Predicates": [
{
"$type": "ByEntityType",
"EntityType": "Monster",
"Target": "Other"
},
{
"$type": "ByPinballContact",
"CasterKind": "Ball",
"OtherKind": "Target"
},
{
"$type": "ByTags",
"TagList": [
"Pinball_MeleeEnemy"
],
"Target": "Other"
}
],
"Target": "Target"
},
{
"$type": "BranchOperator",
"Conditions": [
{
"$type": "ByEntityType",
"EntityType": "Monster",
"Target": "Other"
},
{
"$type": "ByPinballContact",
"CasterKind": "Ball",
"OtherKind": "Target"
},
{
"$type": "ByModifierStackCount",
"CompareType": "Greater",
"CountModifierType": "GlobalAbility",
"ModifierName": "Activity_Pinball_Launch_FirstHitPickupReady",
"StackCount": 0,
"Target": "Caster"
}
],
"SuccessActions": [
{
"$type": "SendEventToViewObjectAction",
"EventName": "Activity_Pinball_Crowd_Pickup_Global",
"IsAvatarGlobalEvent": true,
"Target": "LocalAvatar"
},
{
"$type": "RemoveModifier",
"ModifierName": "Activity_Pinball_Launch_FirstHitPickupReady",
"ModifierTargetType": "GlobalAbility",
"Target": "Caster"
}
]
}
]
}