{

    "AbilityName" : "Mandrake_ATK01_DEF",

    "AbilityStacking":"Unique",



    "OnAbilityStart" :

    [

        {

            "$type": "MoleMole.ApplyModifier",

            "ModifierName": "ShieldModifier",

            "Target" : "Custom",

            "CustomKey": "Mandrake_Atk02_DEF"



        },



        {

            "$type" : "MoleMole.FireEffect",

            "EffectPattern" : "Eff_Avatar_LevelUp_01",

            "Target" : "Self",

        }

    ],



    "Modifiers" :

    {

        "ShieldModifier":

        {

            "ModifierStacking" : "Replace",

            "Duration" : 5, 



            "ModifierMixins" : 

            [

                {

                    "$type" : "MoleMole.HpShieldMixin",

                    "Duration": 5, //有效时长

                    "Tag": "Mandrake_Shield",



                    //护盾值

                    "TotalValueConfig": 

                    {

                        "PropertyType": "MaxHP",

                        // "CustomPropertyType": "EnhanceNum",

                        "Percentage": 0.5,

                        "Amount": 0,

                    },



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

                    "RecoverAmount": 0, //每秒回复百分比

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



                    //护盾添加时回调

                    "AddedActions": 

                    [

                        // {  

                        //     "$type" : "MoleMole.FireEffect",

                        //     "EffectPattern" : "Eff_Avatar_LevelUp_02",

                        //     "Target" : "Self",

                        // },

                        {

                            "$type": "MoleMole.SetRBLOffsetAction",

                            "Tag": "Mandrake_Shield_RGB",

                            "RBLOffset": 2,

                            "Target": "Self"

                        }

                    ],



                    //护盾归零时回调

                    "EmptyActions": 

                    [

                        {  

                            "$type" : "MoleMole.FireEffect",

                            "EffectPattern" : "Eff_Avatar_LevelUp_01",

                            "Target" : "Self",

                        },

                        {

                            "$type": "MoleMole.UnsetRBLOffsetAction",

                            "Tag": "Mandrake_Shield_RGB",

                            "Target": "Self"

                        },

                        {

                            "$type": "MoleMole.RemoveModifier",

                            "ModifierName": "ShieldModifier",

                            "Target" : "Self",



                        }

                    ],



                    //持续时间耗尽时回调

                    "TimeUpActions": 

                    [

                        {  

                            "$type" : "MoleMole.FireEffect",

                            "EffectPattern" : "Eff_Avatar_LevelUp_01",

                            "Target" : "Self",

                        },

                        {

                            "$type": "MoleMole.UnsetRBLOffsetAction",

                            "Tag": "Mandrake_Shield_RGB",

                            "Target": "Self"

                        },

                        {

                            "$type": "MoleMole.RemoveModifier",

                            "ModifierName": "ShieldModifier",

                            "Target" : "Self",



                        }

                    ]

                },



            ]

        }

    }

}