{ "AbilityName": "BillySP_Pinball_Collision", "AbilityStacking": "Unique", "Modifiers": { "BillySP_Pinball_CollisionDamage_Modifier": { "Duration": 0.1, "ModifierStacking": "Unique", "OnAdded": [ { "$type": "DamageByAttackPropertyAction", "AnimEventID": "BillySP_Pinball_Collision_AttackProperty_01", "Attacker": "Caster", "Target": "Self" } ] }, "BillySP_Pinball_HeavyHitBuff": { "Duration": 0.1, "ModifierStacking": "Refresh" }, "BillySP_Pinball_HeavyHitDamage_Modifier": { "Duration": 0.15, "ModifierStacking": "Multiple", "OnAdded": [ { "$type": "FireEffect", "EffectPattern": "Eff_Pinball_Activity_13_Lightning", "EntityDeathHideEffect": true, "FireEffectPosRot": { "CoordsOption": "ReferTarget", "NeedRaycastGround": true, "Offset": { "AngleOffset": { "x": 0, "y": 0, "z": 0 }, "IsUseRotationXZ": false, "IsUseRotationY": true, "PositionOffset": { "x": 0, "y": 0, "z": 0 } }, "RaycastGroundOffset": 0, "TargetOption": { "$type": "ConfigPosRotReferTarget", "OffsetReferTarget": "Self" } }, "Target": "Self" } ], "OnRemoved": [ { "$type": "DamageByAttackPropertyAction", "AnimEventID": "BillySP_Pinball_Collision_HeavyHit_AttackProperty_01", "Attacker": "Caster", "Target": "Self" } ] }, "BillySP_Pinball_TalentHeavyHit_CD": { "Duration": 0.1, "ModifierStacking": "Refresh" } }, "OnAbilityTrigger": [ { "$type": "ApplyModifier", "ModifierName": "BillySP_Pinball_CollisionDamage_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": "ByTags", "TagList": [ "Pinball_MeleeEnemy" ], "Target": "Other" }, { "$type": "ByEntityType", "EntityType": "Monster", "Target": "Other" }, { "$type": "ByPinballContact", "CasterKind": "Ball", "OtherKind": "Target" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByHasModifier", "ModifierNameList": [ "BillySP_Pinball_TalentHeavyHit_CD" ], "Target": "Caster" } ] }, { "$type": "ByOr", "Predicates": [ { "$type": "ByModifierStackCount", "CompareType": "Greater", "CountModifierType": "GlobalAbility", "ModifierName": "BillySP_Pinball_HeavyHitBuff", "StackCount": 0, "Target": "Caster" }, { "$type": "ByHasAbility", "AbilityNameList": [ "BillySP_Pinball_Talent_AlwaysHeavyHit" ], "Target": "Caster" } ] } ], "SuccessActions": [ { "$type": "ApplyModifier", "ModifierName": "BillySP_Pinball_HeavyHitDamage_Modifier", "Target": "Target" }, { "$type": "RemoveModifier", "ModifierName": "BillySP_Pinball_HeavyHitBuff", "ModifierTargetType": "GlobalAbility", "Target": "Caster" }, { "$type": "ApplyModifier", "ModifierName": "BillySP_Pinball_TalentHeavyHit_CD", "Target": "Caster" } ] } ] }