{ //角色位于场下时,生命值会徐徐回复,生命值低于10%时生效 "AbilityName":"Card_DailyUse_1000917", "AbilityStacking":"Unique", "DefaultModifier": { "OnAdded": [ { "$type" : "MoleMole.ApplyModifier", "ModifierName" : "HpRecoverModifier", "Target" : "Self" } ] }, "Modifiers": { "HpRecoverModifier": { "ModifierStacking": "Unique", "Duration": -1, "ModifierMixins" : [ { "$type": "MoleMole.SmoothChangePropertyMixin", "PropertyItems" : [ { "PropertyType": "CurHP", "PropertyModifyFunction": "Add", "Percentage": "%HpPercentage", "Amount":0, //该Mixin必须加Amount,赋默认值 "Predicates": [ { "$type": "MoleMole.ByIsLocalAvatar", "IsLocalAvatar": false, "Target" : "Self" }, { "$type": "MoleMole.ByPlayerPropertyValue", "Numerator": "CurHP", "Denominator": "MaxHP", "IsUsePercent": true, "CompareType": "Less", "Val1" : "%HpReserve", "Target" : "Self" } ] } ] } ] } }, "AbilitySpecials" : { //表格参数 "HpPercentage" : { "Value" : 0.005 }, "HpReserve" : { "Value" : 0.1 } } }