{

    // HPShieldModifier测试脚本

    "AbilityName": "TestPlayer_Ability_HpShieldMixin",

    "AbilityStacking": "Unique",



    "OnAbilityStart":

    [

        {

            "$type":"MoleMole.ApplyModifier",

            "ModifierName":"HPShieldModifier",

            "Target":"Self",

        }

    ],



    "Modifiers" : 

    {

        "HPShieldModifier":

        {

            "ModifierStacking": "MultipleRefresh",

            "Duration" : 15,



            "ModifierMixins":

            [

                {

                    "$type" : "MoleMole.HpShieldMixin",

                    "Duration": -1, //有效时长,

                    "Tag": "HpShieldMixin_Test_01",

                    //护盾值

                    "TotalValueConfig": 

                    {

                        "PropertyType": "MaxHP",

                        "Percentage": 0.2,

                        "Amount": 0

                    },

                    "RecoverPercentage": 0.0, //每秒回复百分比

                    "RecoverAmount": 0, //每秒回复固定值

                    "Priority": 0, //扣除优先级

                    "IfTakeRestDamageWhenEmpty": true, //护盾值归零时是否承受剩余伤害,

                }

            ],

        }

    }

}