{ //满编时,角色承受伤害降低20%,每少一名角色效果降低10% "AbilityName":"Card_DailyUse_1000908", "AbilityStacking":"Unique", "DefaultModifier": { "OnBeingHit" : [ { //3人存活时,给角色增加抗伤倍率 20% "$type":"MoleMole.ModifyAttackDataAction", "PropertyKey":"Actor_DamageTakeRatio", "PropertyValue":"%DamageTakeRatio_3", "Target":"Self", "Predicates": [ { "$type" : "MoleMole.ByAvatarCount", "CompareValue" : 3, "CompareType": "Equal" } ] }, { //3人存活时,给角色增加抗伤倍率 10% "$type":"MoleMole.ModifyAttackDataAction", "PropertyKey":"Actor_DamageTakeRatio", "PropertyValue":"%DamageTakeRatio_2", "Target":"Self", "Predicates": [ { "$type" : "MoleMole.ByAvatarCount", "CompareValue" : 2, "CompareType": "Equal" } ] }, { //1人存活时,给角色增加抗伤倍率 0% "$type":"MoleMole.ModifyAttackDataAction", "PropertyKey":"Actor_DamageTakeRatio", "PropertyValue":"%DamageTakeRatio_1", "Target":"Self", "Predicates": [ { "$type" : "MoleMole.ByAvatarCount", "CompareValue" : 1, "CompareType": "Equal" } ] } ] }, "AbilitySpecials" : { //表格参数 "DamageTakeRatio_3" : { "Value" : -0.12 }, "DamageTakeRatio_2" : { "Value" : -0.08 }, "DamageTakeRatio_1" : { "Value" : -0.04 } } }