{

    //直接进入被击两次状态

    "AbilityName": "Battery_SpecialIdle",

    "AbilityStacking": "Unique",

    "DefaultModifier": 

    {

        "OnAdded": 

        [

            {

                "$type": "MoleMole.ApplyModifier",

                "ModifierName": "Battery_SpecialBeHit",

                "Target": "Self"

            },

            {

                "$type": "MoleMole.ApplyModifier",

                "ModifierName": "DelayHandle",

                "Target": "Self"

            },

        ],

    },



    "Modifiers":

    {

        "Battery_SpecialBeHit": 

        {

            "ModifierStacking": "Unique",

            "Duration": -1,



            "OnBeingHit": 

            [

                //无论被击几次都会播放的被击特效

                {

                    "$type": "MoleMole.FireEffect",

                    "EffectPattern": "Eff_Device_Battery_OnHit",

                    "Target": "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByDistance",

                            "Distance": 15,

                            "Target": "Self",

                            "CompareType": "LessEqual",

                            "CompareTarget": "Target"

                        }

                    ]

                },

                //被击爆炸

                {

                    "$type": "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType": 1,

                    "ParamName": "Trigger_Hit_Battery_03",

                    "Target": "Self",

                    "BoolVal": true,

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByDistance",

                            "Distance": 15,

                            "Target": "Self",

                            "CompareType": "LessEqual",

                            "CompareTarget": "Target"

                        }

                    ]

                }

            ]

        },



        "DelayHandle": 

        {

            "ModifierStacking": "Unique",

            "Duration": 3,



            "OnRemoved": 

            [

                {

                    "$type": "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType": 1,

                    "ParamName": "Trigger_SpecialOpen",

                    "Target": "Self",

                    "BoolVal": true,

                }

            ]

        }

    }

}