{ "AbilityName": "Activity_Pinball_AddCombo", "AbilitySpecials": { "AS_ComboAdd": { "Value": 1 }, "AS_ComboDamageRatioPerStep": { "Value": 0.1 }, "AS_ComboDamageRatioPercentPerStep": { "Value": 0 }, "AS_ComboDamageStepThreshold": { "Value": 10 }, "AS_ComboDamageStepThresholdNeg": { "Value": 0 }, "AS_ComboDashEnergyReward": { "Value": 0 }, "AS_ComboDashEnergyThreshold": { "Value": 10 }, "AS_ComboDashEnergyThresholdNeg": { "Value": 0 }, "AS_ComboReachCountThreshold": { "Value": 5 }, "AS_CurrentCombo": { "Value": 0 }, "AS_MaxComboForDamageBonus": { "Value": 999 } }, "AbilityStacking": "Unique", "OnAbilityTrigger": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "Less", "CustomNumerator": "Pinball_Combo", "IsUsePercent": false, "Numerator": "Custom", "Target": "LocalAvatar", "Val1": "%AS_MaxComboForDamageBonus" } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": "%AS_ComboAdd", "CustomPropertyType": "Pinball_Combo", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "SetAbilitySpecialsByPropertyAction", "Amount": 0, "CustomPropertyType": "Pinball_Combo", "ModifyFunction": "Replace", "ParamName": "AS_CurrentCombo", "Percentage": 1, "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "TriggerLevelCustomConditions", "AddCount": 1, "LevelConditionsID": 1861, "UploadValue": "%AS_CurrentCombo", "ValueWriteMode": "Max" } ] }, { "$type": "ModifyProperty", "Amount": "%AS_ComboAdd", "CustomPropertyType": "Pinball_ComboDamageStepCounter", "Predicates": [ { "$type": "ByPlayerPropertyValue", "CompareType": "Less", "CustomNumerator": "Pinball_Combo", "IsUsePercent": false, "Numerator": "Custom", "Target": "LocalAvatar", "Val1": "%AS_MaxComboForDamageBonus" } ], "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "Pinball_ComboDamageStepCounter", "IsUsePercent": false, "Numerator": "Custom", "Target": "LocalAvatar", "Val1": "%AS_ComboDamageStepThreshold" } ], "SuccessActions": [ { "$type": "ModifyProperty", "Amount": "%AS_ComboDamageRatioPerStep", "CustomPropertyType": "Pinball_ComboDamageRatio", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": false, "Expression": "specials(AS_ComboDamageRatioPerStep)*100", "ParamName": "AS_ComboDamageRatioPercentPerStep", "Target": "LocalAvatar", "ValueType": "Float" }, { "$type": "ModifyProperty", "Amount": "%AS_ComboDamageRatioPercentPerStep", "CustomPropertyType": "Pinball_ComboDamageRatioPercent", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "SetAbilitySpecialByExpression", "DoRefresh": false, "Expression": "-specials(AS_ComboDamageStepThreshold)", "ParamName": "AS_ComboDamageStepThresholdNeg", "Target": "LocalAvatar", "ValueType": "Float" }, { "$type": "ModifyProperty", "Amount": "%AS_ComboDamageStepThresholdNeg", "CustomPropertyType": "Pinball_ComboDamageStepCounter", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" } ] }, { "$type": "ModifyProperty", "Amount": "%AS_ComboAdd", "CustomPropertyType": "Pinball_ComboDashEnergyCounter", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "ModifyProperty", "Amount": "%AS_ComboDashEnergyThreshold", "CustomPropertyType": "Pinball_ComboDashEnergyThreshold", "PropertyModifyFunction": "Replace", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "BranchOperator", "Conditions": [ { "$type": "ByPlayerPropertyValue", "CompareType": "GreaterEqual", "CustomNumerator": "Pinball_ComboDashEnergyCounter", "IsUsePercent": false, "Numerator": "Custom", "Target": "LocalAvatar", "Val1": "%AS_ComboDashEnergyThreshold" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialsByPropertyAction", "Amount": 0, "CustomPropertyType": "Pinball_ComboDashEnergyThreshold", "ModifyFunction": "Replace", "ParamName": "AS_ComboDashEnergyThresholdNeg", "Percentage": -1, "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "ModifyProperty", "Amount": "%AS_ComboDashEnergyReward", "CustomPropertyType": "Pinball_DashEnergy", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "ModifyProperty", "Amount": "%AS_ComboDashEnergyThresholdNeg", "CustomPropertyType": "Pinball_ComboDashEnergyCounter", "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" } ] }, { "$type": "ModifyProperty", "Amount": 1, "CustomPropertyType": "Pinball_ComboReach5Count", "Predicates": [ { "$type": "ByPlayerPropertyValue", "CompareType": "Equal", "CustomNumerator": "Pinball_Combo", "IsUsePercent": false, "Numerator": "Custom", "Target": "LocalAvatar", "Val1": "%AS_ComboReachCountThreshold" } ], "PropertyModifyFunction": "Add", "PropertyType": "Custom", "Target": "LocalAvatar" }, { "$type": "TriggerLevelCustomConditions", "LevelConditionsID": 1862, "Predicates": [ { "$type": "ByPlayerPropertyValue", "CompareType": "Equal", "CustomNumerator": "Pinball_Combo", "IsUsePercent": false, "Numerator": "Custom", "Target": "LocalAvatar", "Val1": "%AS_ComboReachCountThreshold" } ] } ] }