Ghost

Game resources

Activity Pinball AddFever

game_resourceIntrinsic/flexbuffers-json/Activity_Pinball_AddFever

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Activity_Pinball_AddFever.json
data
{
  "Modifiers": {
    "Pinball_FeverRecoverCD": {
      "OnAdded": [
        {
          "$type": "ModifyProperty",
          "Amount": "%AS_FeverAdd_Base",
          "Target": "LocalAvatar",
          "Predicates": [
            {
              "Val1": 0,
              "$type": "ByPlayerPropertyValue",
              "Target": "LocalAvatar",
              "Numerator": "Custom",
              "CompareType": "Equal",
              "IsUsePercent": false,
              "CustomNumerator": "Pinball_FeverActive"
            }
          ],
          "PropertyType": "Custom",
          "CustomPropertyType": "Pinball_Fever",
          "PropertyModifyFunction": "Add"
        },
        {
          "$type": "ApplyAbilityAction",
          "Target": "LocalAvatar",
          "AbilityID": 799900357,
          "Predicates": [
            {
              "Val1": 1,
              "$type": "ByPlayerPropertyValue",
              "Target": "LocalAvatar",
              "Numerator": "Custom",
              "CompareType": "GreaterEqual",
              "Denominator": "Custom",
              "IsUsePercent": true,
              "CustomNumerator": "Pinball_Fever",
              "CustomDenominator": "Pinball_MaxFever"
            },
            {
              "Val1": 0,
              "$type": "ByPlayerPropertyValue",
              "Target": "LocalAvatar",
              "Numerator": "Custom",
              "CompareType": "Equal",
              "IsUsePercent": false,
              "CustomNumerator": "Pinball_FeverActive"
            }
          ],
          "IsAutoTrigger": true
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "LocalAvatar",
          "ParamName": "AS_FeverNormalized",
          "ValueType": "Float",
          "Expression": "min(property(Pinball_Fever)/max(property(Pinball_MaxFever),1),1)"
        },
        {
          "$type": "SendEventToViewObjectAction",
          "Target": "Self",
          "EventName": "Activity_Pinball_Fever_Changed_Global",
          "IsAvatarGlobalEvent": true
        }
      ],
      "Duration": "%AS_FeverAddCD",
      "ModifierStacking": "Unique"
    },
    "Pinball_FeverItemRecover": {
      "OnAdded": [
        {
          "$type": "ModifyProperty",
          "Amount": "%AS_FeverItemRecover",
          "Target": "Self",
          "PropertyType": "Custom",
          "CustomPropertyType": "Pinball_Fever",
          "PropertyModifyFunction": "Add"
        },
        {
          "$type": "ApplyAbilityAction",
          "Target": "Self",
          "AbilityID": 799900357,
          "Predicates": [
            {
              "Val1": 1,
              "$type": "ByPlayerPropertyValue",
              "Target": "Self",
              "Numerator": "Custom",
              "CompareType": "GreaterEqual",
              "Denominator": "Custom",
              "IsUsePercent": true,
              "CustomNumerator": "Pinball_Fever",
              "CustomDenominator": "Pinball_MaxFever"
            },
            {
              "Val1": 0,
              "$type": "ByPlayerPropertyValue",
              "Target": "Self",
              "Numerator": "Custom",
              "CompareType": "Equal",
              "IsUsePercent": false,
              "CustomNumerator": "Pinball_FeverActive"
            }
          ],
          "IsAutoTrigger": true
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Target": "Self",
          "ParamName": "AS_FeverNormalized",
          "ValueType": "Float",
          "Expression": "min(property(Pinball_Fever)/max(property(Pinball_MaxFever),1),1)"
        },
        {
          "$type": "SendEventToViewObjectAction",
          "Target": "Self",
          "EventName": "Activity_Pinball_Fever_Changed_Global",
          "IsAvatarGlobalEvent": true
        },
        {
          "$type": "SendEventToViewObjectAction",
          "Target": "Self",
          "EventName": "Activity_Pinball_Crowd_Pickup_Global",
          "IsAvatarGlobalEvent": true
        }
      ],
      "Duration": 0.1,
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Activity_Pinball_AddFever",
  "AbilitySpecials": {
    "AS_FeverAddCD": {
      "Value": 0.1
    },
    "AS_FeverAdd_Base": {
      "Value": 10
    },
    "AS_FeverNormalized": {
      "Value": 0
    },
    "AS_FeverItemRecover": {
      "Value": 0
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnCustomEventReceived": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "Activity_Pinball_FeverItem_Recover"
          },
          {
            "Val1": 0,
            "$type": "ByPlayerPropertyValue",
            "Target": "Self",
            "Numerator": "Custom",
            "CompareType": "Equal",
            "IsUsePercent": false,
            "CustomNumerator": "Pinball_FeverActive"
          }
        ],
        "ModifierName": "Pinball_FeverItemRecover"
      }
    ]
  },
  "OnAbilityTrigger": [
    {
      "$type": "ApplyModifier",
      "Target": "LocalAvatar",
      "Predicates": [
        {
          "Val1": 0,
          "$type": "ByPlayerPropertyValue",
          "Target": "LocalAvatar",
          "Numerator": "Custom",
          "CompareType": "Equal",
          "IsUsePercent": false,
          "CustomNumerator": "Pinball_FeverActive"
        },
        {
          "$type": "ByHasModifier",
          "Target": "LocalAvatar",
          "OperatorType": "Not",
          "ModifierNameList": [
            "Pinball_FeverRecoverCD"
          ]
        }
      ],
      "ModifierName": "Pinball_FeverRecoverCD"
    }
  ]
}
format
json
displayName
Activity_Pinball_AddFever