Ghost

Game resources

Activity Bangkov ItemUseHpRecover

game_resourceIntrinsic/flexbuffers-json/Activity_Bangkov_ItemUseHpRecover

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Activity_Bangkov_ItemUseHpRecover.json
data
{
  "Modifiers": {
    "PrepareModifier1": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RecoverHP_Amount1",
          "ParamName": "AS_RecoverHP_Amount",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RecoverHP_Percentage1",
          "ParamName": "AS_RecoverHP_Percentage",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "SubControllerModifier"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "PrepareModifier2": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RecoverHP_Amount2",
          "ParamName": "AS_RecoverHP_Amount",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RecoverHP_Percentage2",
          "ParamName": "AS_RecoverHP_Percentage",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "SubControllerModifier"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "PrepareModifier3": {
      "OnAdded": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RecoverHP_Amount3",
          "ParamName": "AS_RecoverHP_Amount",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%AS_RecoverHP_Percentage3",
          "ParamName": "AS_RecoverHP_Percentage",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "SubControllerModifier"
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    },
    "RecoverHPModifier": {
      "OnAdded": [
        {
          "$type": "SkillStartAction",
          "StartedSkillName": "Bangboo_Eous001_Skill_HpItem_Bangkov"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 1,
          "ParamName": "TokenCount",
          "ModifyFunction": "Add"
        },
        {
          "$type": "RecoverHPAction",
          "Amount": "%AS_RecoverHP_Amount",
          "Target": "Self",
          "Percentage": "%AS_RecoverHP_Percentage"
        },
        {
          "$type": "FireEffect",
          "Target": "Self",
          "EffectPattern": "Eff_Eous_Attack_Injection_01_01_Buff"
        },
        {
          "$type": "RemoveModifier",
          "ModifierName": "RecoverHPModifier"
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": -1,
          "ParamName": "TokenCount",
          "ModifyFunction": "Add"
        }
      ],
      "ModifierStacking": "Multiple"
    },
    "SubControllerModifier": {
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByAbilitySpecial",
              "Param": 1,
              "ParamName": "AS_IsNewItem",
              "CompareType": "Equal"
            }
          ],
          "FailureActions": [
            {
              "$type": "ApplyModifier",
              "Predicates": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": 0,
                  "ParamName": "TokenCount",
                  "CompareType": "Equal"
                }
              ],
              "ModifierName": "RecoverHPModifier"
            }
          ],
          "SuccessActions": [
            {
              "$type": "ApplyModifier",
              "ModifierName": "RecoverHPModifier"
            }
          ]
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Replace"
    }
  },
  "AbilityName": "Activity_Bangkov_ItemUseHpRecover",
  "AbilitySpecials": {
    "AS_ItemID1": {
      "Value": 4211001
    },
    "AS_ItemID2": {
      "Value": 4211002
    },
    "AS_ItemID3": {
      "Value": 4211003
    },
    "TokenCount": {
      "Value": 0
    },
    "AS_IsActive": {
      "Value": 0
    },
    "AS_IsNewItem": {
      "Value": 0
    },
    "AS_RecoverHP_Amount": {
      "Value": 0
    },
    "AS_RecoverHP_Amount1": {
      "Value": 200
    },
    "AS_RecoverHP_Amount2": {
      "Value": 100
    },
    "AS_RecoverHP_Amount3": {
      "Value": 50
    },
    "AS_RecoverHP_Percentage": {
      "Value": 0
    },
    "Hub_AS_RecoverHP_Amount": {
      "Value": 0
    },
    "AS_RecoverHP_Percentage1": {
      "Value": 0
    },
    "AS_RecoverHP_Percentage2": {
      "Value": 0
    },
    "AS_RecoverHP_Percentage3": {
      "Value": 0
    },
    "Hub_AS_RecoverHP_Percentage": {
      "Value": 0
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnCustomEventReceived": [
      {
        "$type": "ApplyModifier",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "IntVal": "%AS_ItemID1",
            "EventKey": "BKItem_ClientUse",
            "ValueType": "Integer",
            "CompareType": "Equal",
            "CompareParam": true
          }
        ],
        "ModifierName": "PrepareModifier1"
      },
      {
        "$type": "ApplyModifier",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "IntVal": "%AS_ItemID2",
            "EventKey": "BKItem_ClientUse",
            "ValueType": "Integer",
            "CompareType": "Equal",
            "CompareParam": true
          }
        ],
        "ModifierName": "PrepareModifier2"
      },
      {
        "$type": "ApplyModifier",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "IntVal": "%AS_ItemID3",
            "EventKey": "BKItem_ClientUse",
            "ValueType": "Integer",
            "CompareType": "Equal",
            "CompareParam": true
          }
        ],
        "ModifierName": "PrepareModifier3"
      }
    ]
  },
  "OnAbilityTrigger": [
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByAbilitySpecial",
          "Param": 1,
          "ParamName": "AS_IsActive",
          "CompareType": "Equal"
        }
      ],
      "FailureActions": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 1,
          "ParamName": "AS_IsActive",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 1,
          "ParamName": "AS_IsNewItem",
          "Predicates": [
            {
              "$type": "ByOr",
              "Predicates": [
                {
                  "$type": "ByAbilitySpecial",
                  "Param": "%Hub_AS_RecoverHP_Amount",
                  "ParamName": "AS_RecoverHP_Amount",
                  "CompareType": "NotEqual"
                },
                {
                  "$type": "ByAbilitySpecial",
                  "Param": "%Hub_AS_RecoverHP_Percentage",
                  "ParamName": "AS_RecoverHP_Percentage",
                  "CompareType": "NotEqual"
                }
              ]
            }
          ],
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%Hub_AS_RecoverHP_Amount",
          "ParamName": "AS_RecoverHP_Amount",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "SetAbilitySpecialAction",
          "Param": "%Hub_AS_RecoverHP_Percentage",
          "ParamName": "AS_RecoverHP_Percentage",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "EventReceiveModifier"
        }
      ],
      "SuccessActions": [
        {
          "$type": "SetAbilitySpecialAction",
          "Param": 0,
          "ParamName": "AS_IsActive",
          "ModifyFunction": "Replace"
        },
        {
          "$type": "RemoveModifier",
          "ModifierName": "EventReceiveModifier"
        }
      ]
    }
  ]
}
format
json
displayName
Activity_Bangkov_ItemUseHpRecover