{ "AbilityName": "Yidhari_RecoverHP", "AbilityStacking": "Unique", "DefaultModifier": { "OnAdded": [ { "$type": "ApplyModifier", "ModifierName": "BuffModifier", "Predicates": [ { "$type": "ByIsLocalAvatar", "IsLocalAvatar": false, "Target": "Self" } ], "Target": "Self" } ], "OnSwitchTriggered": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByIsLocalAvatar", "IsLocalAvatar": true, "Target": "Self" } ], "FailureActions": [ { "$type": "ApplyModifier", "ModifierName": "BuffModifier", "Target": "Self" } ], "SuccessActions": [ { "$type": "RemoveModifier", "ModifierName": "BuffModifier", "Target": "Self" } ] } ] }, "Modifiers": { "BuffModifier": { "Duration": -1, "ModifierMixins": [ { "$type": "SmoothRecoverHPMixin", "PropertyItem": { "Percentage": 0.01, "Predicates": [ { "$type": "ByPlayerPropertyValue", "CompareType": "Less", "Denominator": "MaxHP", "IsUsePercent": true, "Numerator": "CurHP", "Val1": 0.3 } ], "PropertyModifyFunction": "Add", "Target": "Self" } } ], "ModifierStacking": "Unique" } } }