{ //白盾测试脚本 "AbilityName": "TestPlayer_Ability_Tianheng_80", "AbilityStacking": "Unique", "OnAbilityStart": [ { "$type": "MoleMole.ApplyModifier", "ModifierName": "HpShieldModifier" } ], "Modifiers" : { "HpShieldModifier": { "ModifierStacking" : "MultipleRefresh", "Duration" : 20, "OnAdded" : [ { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Avatar_LevelUp_01", "Target" : "Self", } ], // "OnRemoved" : // [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_02", // "Target" : "Self", // } // ], "ModifierMixins": [ { "$type" : "MoleMole.HpShieldMixin", "Duration": 10, //有效时长 //护盾值 "TotalValueConfig": { "PropertyType": "MaxHP", // "CustomPropertyType": "EnhanceNum", "Percentage": 0.5, "Amount": 0, }, "RecoverPercentage": 0.1, //每秒回复百分比 "RecoverAmount": 0, //每秒回复百分比 "Priority": 0, //扣除优先级 "IfTakeRestDamageWhenEmpty": true, //护盾值归零时是否承受剩余伤害 // //护盾添加时回调 // "AddedActions": // [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self", // } // ], // //护盾归零时回调 // "EmptyActions": // [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self", // } // ], //持续时间耗尽时回调 "TimeUpActions": [ { "$type" : "MoleMole.FireEffect", "EffectPattern" : "Eff_Avatar_LevelUp_02", "Target" : "Self", } ], // //护盾移除时回调 // "RemovedActions": // [ // { // "$type" : "MoleMole.FireEffect", // "EffectPattern" : "Eff_Avatar_LevelUp_01", // "Target" : "Self", // } // ], } ] } } }