Ghost

Game resources

ActivityBattleAbility VR 024 Buff RecoverHP

game_resourceIntrinsic/flexbuffers-json/ActivityBattleAbility_VR_024_Buff_RecoverHP

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/ActivityBattleAbility_VR_024_Buff_RecoverHP.json
data
{
  "Modifiers": {
    "DamageBoostModifier": {
      "Buff": {
        "BuffID": 9000905,
        "IsOverrideDuration": true
      },
      "OnAdded": [
        {
          "$type": "LDListenEntityAction",
          "TargetKey": "ActivityBattleAbility_Condition_BuffAdd"
        }
      ],
      "Duration": "%AS_BuffDuration",
      "Properties": {
        "Actor_AddedDamageRatio": "%AS_DamageIncreaseRatio"
      },
      "ModifierStacking": "MultipleRefresh",
      "MaxStackingNumber": "%AS_MaxStackingNumber"
    },
    "RecoverHPCDModifier": {
      "Duration": "%AS_CD_Duration",
      "ModifierStacking": "Unique"
    },
    "TeamHealListenerModifier": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "ActionsOnInstantPropertyChangeMixin",
          "PropertyActions": [
            {
              "PropertyType": "CurHP",
              "IsSaveToSpecial": true,
              "IsUsePercentage": false,
              "NameSaveToSpecialInstant": "Hp_Change",
              "InstantPropertyChangeActions": [
                {
                  "$type": "SetAbilitySpecialByExpression",
                  "Target": "Self",
                  "DoRefresh": true,
                  "ParamName": "AS_MaxHP_Delta",
                  "ValueType": "Float",
                  "Expression": "sqrt((specials(AS_MaxHP_Record)-property(MaxHP))*(specials(AS_MaxHP_Record)-property(MaxHP)))"
                },
                {
                  "$type": "BranchOperator",
                  "Conditions": [
                    {
                      "$type": "ByAbilitySpecial",
                      "Param": 1,
                      "ParamName": "AS_MaxHP_Delta",
                      "ParamType": "Float",
                      "CompareType": "LessEqual"
                    },
                    {
                      "$type": "ByAbilitySpecial",
                      "Param": 0,
                      "ParamName": "Hp_Change",
                      "ParamType": "Float",
                      "CompareType": "Greater"
                    },
                    {
                      "$type": "ByNot",
                      "Predicates": [
                        {
                          "$type": "ByHasModifier",
                          "ModifierNameList": [
                            "RecoverHPCDModifier"
                          ]
                        }
                      ]
                    }
                  ],
                  "FailureActions": [
                    {
                      "$type": "SetAbilitySpecialsByPropertyAction",
                      "Target": "Self",
                      "DoRefresh": true,
                      "ParamName": "AS_MaxHP_Record",
                      "Percentage": 1,
                      "PropertyType": "MaxHP",
                      "ModifyFunction": "Replace"
                    }
                  ],
                  "SuccessActions": [
                    {
                      "$type": "ApplyModifier",
                      "Target": "TeamAvatars",
                      "ModifierName": "DamageBoostModifier"
                    },
                    {
                      "$type": "TriggerLevelCustomConditions",
                      "LevelConditionsID": 1764
                    },
                    {
                      "$type": "ApplyModifier",
                      "Target": "Self",
                      "ModifierName": "RecoverHPCDModifier"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "ActivityBattleAbility_VR_024_Buff_RecoverHP",
  "AbilitySpecials": {
    "Hp_Change": {
      "Value": 0
    },
    "AS_CD_Duration": {
      "Value": 1
    },
    "AS_MaxHP_Delta": {
      "Value": 0
    },
    "AS_BuffDuration": {
      "Value": 10,
      "ValueType": "Float"
    },
    "AS_MaxHP_Record": {
      "Value": 0
    },
    "AS_MaxStackingNumber": {
      "Value": 8,
      "ValueType": "Int"
    },
    "AS_DamageIncreaseRatio": {
      "Value": 0.2,
      "ValueType": "Float"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "ModifierName": "TeamHealListenerModifier"
      },
      {
        "$type": "SetAbilitySpecialsByPropertyAction",
        "Target": "Self",
        "DoRefresh": true,
        "ParamName": "AS_MaxHP_Record",
        "Percentage": 1,
        "PropertyType": "MaxHP",
        "ModifyFunction": "Replace"
      }
    ]
  }
}
format
json
displayName
ActivityBattleAbility_VR_024_Buff_RecoverHP