{ "AbilityName": "Activity_Bangkov_ItemUseHpRecoverHot", "AbilitySpecials": { "AS_Duration": { "Value": 5 }, "AS_IsActive": { "Value": 0 }, "AS_IsNewItem": { "Value": 0 }, "AS_ItemID1": { "Value": 4211004 }, "AS_ItemID2": { "Value": 4211005 }, "AS_ItemID3": { "Value": 4211006 }, "AS_RecoverHP_Amount": { "Value": 0 }, "AS_RecoverHP_Amount1": { "Value": 50 }, "AS_RecoverHP_Amount2": { "Value": 25 }, "AS_RecoverHP_Amount3": { "Value": 12 }, "AS_RecoverHP_Percentage": { "Value": 0.1 }, "AS_RecoverHP_Percentage1": { "Value": 0 }, "AS_RecoverHP_Percentage2": { "Value": 0 }, "AS_RecoverHP_Percentage3": { "Value": 0 }, "AS_ThinkInterval": { "Value": 1 }, "Hub_AS_Duration": { "Value": 0 }, "Hub_AS_RecoverHP_Amount": { "Value": 0 }, "Hub_AS_RecoverHP_Percentage": { "Value": 0 }, "Hub_AS_ThinkInterval": { "Value": 0 }, "TokenCount": { "Value": 0 } }, "AbilityStacking": "Unique", "DefaultModifier": { "OnCustomEventReceived": [ { "$type": "ApplyModifier", "ModifierName": "PrepareModifier1", "Predicates": [ { "$type": "ByCustomEvent", "CompareParam": true, "CompareType": "Equal", "EventKey": "BKItem_ClientUse", "IntVal": "%AS_ItemID1", "ValueType": "Integer" } ], "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "PrepareModifier2", "Predicates": [ { "$type": "ByCustomEvent", "CompareParam": true, "CompareType": "Equal", "EventKey": "BKItem_ClientUse", "IntVal": "%AS_ItemID2", "ValueType": "Integer" } ], "Target": "Self" }, { "$type": "ApplyModifier", "ModifierName": "PrepareModifier3", "Predicates": [ { "$type": "ByCustomEvent", "CompareParam": true, "CompareType": "Equal", "EventKey": "BKItem_ClientUse", "IntVal": "%AS_ItemID3", "ValueType": "Integer" } ], "Target": "Self" } ] }, "Modifiers": { "PrepareModifier1": { "Duration": -1, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverHP_Amount1", "ParamName": "AS_RecoverHP_Amount" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverHP_Percentage1", "ParamName": "AS_RecoverHP_Percentage" }, { "$type": "ApplyModifier", "ModifierName": "RecoverHPModifier" } ] }, "PrepareModifier2": { "Duration": -1, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverHP_Amount2", "ParamName": "AS_RecoverHP_Amount" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverHP_Percentage2", "ParamName": "AS_RecoverHP_Percentage" }, { "$type": "ApplyModifier", "ModifierName": "RecoverHPModifier" } ] }, "PrepareModifier3": { "Duration": -1, "ModifierStacking": "Replace", "OnAdded": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverHP_Amount3", "ParamName": "AS_RecoverHP_Amount" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%AS_RecoverHP_Percentage3", "ParamName": "AS_RecoverHP_Percentage" }, { "$type": "ApplyModifier", "ModifierName": "RecoverHPModifier" } ] }, "RecoverHPModifier": { "Duration": "%AS_Duration", "ModifierStacking": "Refresh", "OnAdded": [ { "$type": "SkillStartAction", "StartedSkillName": "Bangboo_Eous001_Skill_HpItemDot_Bangkov" }, { "$type": "FireEffect", "CustomKey": "AbilityTarget_ActivityBangkov_EtherInfectionTarget", "EffectPattern": "Eff_Eous_Attack_Injection_01_01_Buff", "Target": "Custom" } ], "OnBeingHit": [ { "$type": "RemoveModifier", "ModifierName": "RecoverHPModifier", "Target": "Self" } ], "OnRemoved": [ ], "OnThinkInterval": [ { "$type": "RecoverHPAction", "Amount": "%AS_RecoverHP_Amount", "IgnoreRatio": false, "Percentage": "%AS_RecoverHP_Percentage", "Target": "Self" }, { "$type": "FireEffect", "EffectPattern": "Eff_Eous_Attack_Injection_01_01_Buff", "Target": "Self" } ], "ThinkInterval": "%AS_ThinkInterval" } }, "OnAbilityTrigger": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByAbilitySpecial", "CompareType": "Equal", "Param": 1, "ParamName": "AS_IsActive" } ], "FailureActions": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_IsActive" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 1, "ParamName": "AS_IsNewItem", "Predicates": [ { "$type": "ByOr", "Predicates": [ { "$type": "ByAbilitySpecial", "CompareType": "NotEqual", "Param": "%Hub_AS_RecoverHP_Amount", "ParamName": "AS_RecoverHP_Amount" }, { "$type": "ByAbilitySpecial", "CompareType": "NotEqual", "Param": "%Hub_AS_RecoverHP_Percentage", "ParamName": "AS_RecoverHP_Percentage" }, { "$type": "ByAbilitySpecial", "CompareType": "NotEqual", "Param": "%Hub_AS_Duration", "ParamName": "AS_Duration" }, { "$type": "ByAbilitySpecial", "CompareType": "NotEqual", "Param": "%Hub_AS_ThinkInterval", "ParamName": "AS_ThinkInterval" } ] } ] }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%Hub_AS_RecoverHP_Amount", "ParamName": "AS_RecoverHP_Amount" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%Hub_AS_RecoverHP_Percentage", "ParamName": "AS_RecoverHP_Percentage" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%Hub_AS_Duration", "ParamName": "AS_Duration" }, { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": "%Hub_AS_ThinkInterval", "ParamName": "AS_ThinkInterval" }, { "$type": "ApplyModifier", "ModifierName": "EventReceiveModifier" } ], "SuccessActions": [ { "$type": "SetAbilitySpecialAction", "ModifyFunction": "Replace", "Param": 0, "ParamName": "AS_IsActive" }, { "$type": "RemoveModifier", "ModifierName": "EventReceiveModifier" } ] } ] }