{

    //露西亚特殊攻击强化

    "AbilityName" : "Lucia_SpecialSkill",

    "AbilityStacking": "Unique",



    "DefaultModifier" : 

    {

        "OnAdded" :

        [

            {

                "$type": "MoleMole.SetUIArrowAction",

                "position": 40

            }

        ],

    },

    

    "AbilityMixins" :

    [

        {

            "$type": "MoleMole.ActionsOnPropertyChangeMixin",

            "PropertyActions":

            [

                {

                    "PropertyType": "CurSP",

                    // "CustomPropertyType": "EnhanceNum",

                     "ReferMaxPropertyType": "MaxSP",

                    // "CustomReferMaxPropertyType": "MaxEnhanceNum",

                    "IsUsePercentage": false,

                    "ValueRangeActions":

                    [

                        {

                            "Val": 40,

                            "LowToValueActions": 

                            [

                                {

                                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                                    "ParamType" : 2,

                                    "ParamName" : "Bool_EnoughEnergy",

                                    "Target" : "Self",

                                    "BoolVal" : true

                                }

                            ],

                        },

                        {

                            "Val": 40,

                            "ValueToLowActions":

                            [

                                {

                                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                                    "ParamType" : 2,

                                    "ParamName" : "Bool_EnoughEnergy",

                                    "Target" : "Self",

                                    "BoolVal" : false

                                }

                            ],

                        },

                    ],

                },  

            ],  

        },

    ],



    "OnAbilityStart":

    [

        //执行SP检测，不合格就强制松手，阶段一

        {

            "$type": "MoleMole.ApplyModifier",

            "ModifierName": "ReleaseModifier",

            "Predicates" :

            [

                {

                    "$type": "MoleMole.ByAnimatorStateNormalizedTime",

                    "AnimatorStateName": "Attack_Branch_ChargeIdle",

                    "LayerIndex": 0,

                    "NormalizedTimeLow" : 0.2,

                    "NormalizedTimeHigh" : 0.4,

                    "Target" : "Self",

                },

                {

                    "$type": "MoleMole.ByPlayerPropertyValue",

                    "Numerator": "CurSP",

                    //"CustomNumerator": "PerfectReady",

                    "Denominator": "MaxSP",

                    "IsUsePercent": false,

                    "CompareType": "Less",

                    "Val1" : 40,

                    //"Val2" : 300,

                    "Target" : "Self"

                },

            ]

        },

        //执行SP检测，不合格就强制松手，阶段二

        {

            "$type": "MoleMole.ApplyModifier",

            "ModifierName": "ReleaseModifier",

            "Predicates" :

            [

                {

                    "$type": "MoleMole.ByAnimatorStateNormalizedTime",

                    "AnimatorStateName": "Attack_Branch_ChargeIdle",

                    "LayerIndex": 0,

                    "NormalizedTimeLow" : 0.5,

                    "NormalizedTimeHigh" : 0.7,

                    "Target" : "Self",

                },

                {

                    "$type": "MoleMole.ByPlayerPropertyValue",

                    "Numerator": "CurSP",

                    //"CustomNumerator": "PerfectReady",

                    "Denominator": "MaxSP",

                    "IsUsePercent": false,

                    "CompareType": "Less",

                    "Val1" : 40,

                    //"Val2" : 300,

                    "Target" : "Self"

                },

            ]

        },

    ],



    "Modifiers" : 

    {

        "ReleaseModifier":

        {

            "ModifierStacking": "MultipleRefresh",

            "Duration": 0.1,



            "OnAdded" :

            [

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 2,

                    "ParamName" : "Bool_HoldAttackB",

                    "Target" : "Self",

                    "BoolVal" : false

                }

            ],

        }

    }

}