{

    //挂于土方本体的控制幽灵显示与隐藏脚本

    "AbilityName": "Lucy_Wood_ShowandHidewithState",

    "AbilityStacking": "Unique",

    "AbilityMixins": [

        {

            "$type": "MoleMole.AttachStateWithModifierMixin",

            "ConfigList": 

            [

                // {

                //     "AnimatorStateName": "Born",

                //     "LayerIndex": 0,

                //     "NormalizedTimeLow": 0.0,

                //     "NormalizedTimeHigh": 1.0,

                //     "ModifierNameList": [

                //         "LucySwitchInModifier",

                //     ]

                // },

                // {

                //     "AnimatorStateName": "Idle",

                //     "LayerIndex": 0,

                //     "NormalizedTimeLow": 0.0,

                //     "NormalizedTimeHigh": 1.0,

                //     "ModifierNameList": [

                //         "LucySwitchInModifier",

                //     ]

                // },

                //开始隐藏幽灵的动作 

                {

                    "AnimatorStateName": "SwitchOut_Normal",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.1,

                    "NormalizedTimeHigh": 1.0,

                    "ModifierNameList": [

                        "LucySwitchOutModifier",

                    ]

                },

                {

                    "AnimatorStateName": "SwitchOut_Attack",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "ModifierNameList": [

                        "LucySwitchOutModifier",

                    ]

                },

                {

                    "AnimatorStateName": "Death",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "ModifierNameList": [

                        "LucySwitchOutModifier",

                    ]

                },

            ],

            // "Predicates": 

            // [

            //     {

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

            //         "Target": "LocalAvatar",

            //         "CompareType": "Equal",

            //         "ModelPath": "Char/Avatar/Female/Female_Size01/Avatar_Female_Size01_Lucy/Avatar_Female_Size01_Lucy"

            //     },

            //     {

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

            //         "Target": "LocalAvatar",

            //         "EntityType": "Avatar",

            //         "TemplateID": 1151

            //     }

            // ]

        },

        {

            "$type": "MoleMole.AttachStateWithModifierMixin",

            "ConfigList": 

            [

                {

                    "AnimatorStateName": "SwitchIn_Normal",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "ModifierNameList": [

                        "LucySwitchInModifier",

                    ]

                },

                {

                    "AnimatorStateName": "SwitchIn_Attack",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.3,

                    "NormalizedTimeHigh": 1.0,

                    "ModifierNameList": [

                        "LucySwitchInModifier",

                    ]

                },

            ],

        }

    ],



    "Modifiers": 

    {

        "LucySwitchInModifier":

        {

            "ModifierStacking": "Refresh",

            "Duration": -1,

            "IgnoreTimeScale": false,

            "OnAdded":

            [

                {

                    "$type" : "MoleMole.WriteAIParamAction",

                    "Target": "Custom",

                    "CustomKey": "LucyWood_AbilityTargetting_00",

                    "ParamName" : "Bool_LucyShow",

                    "BoolParamValue" : true,

                },

                //开启所有Collider

                {

                    "$type" : "MoleMole.PopHitColliderEnable",

                    "Target" : "Self",

                    "Tag" : "Wood_Collider",

                },

            ],

        },



        "LucySwitchOutModifier":

        {

            "ModifierStacking": "Refresh",

            "Duration": -1,

            "IgnoreTimeScale": false,

            "OnAdded":

            [

                {

                    "$type" : "MoleMole.WriteAIParamAction",

                    "Target": "Custom",

                    "CustomKey": "LucyWood_AbilityTargetting_00",

                    "ParamName" : "Bool_LucyShow",

                    "BoolParamValue" : false,

                },

                // 关闭所有Collider

                {

                    "$type" : "MoleMole.PushHitColliderEnable",

                    "Target" : "Self",

                    "Tag" : "Wood_Collider",

                    "HitColliderEnable" : false,

                },

            ],

        },

    }

}