Ghost

Game resources

Activity Pinball AddCombo

game_resourceIntrinsic/flexbuffers-json/Activity_Pinball_AddCombo

Properties

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