{

    "AbilityName" : "DeathXIII_Dither_Fade",

    "AbilityStacking":"Unique",



    "AbilityMixins" :

    [

        {

            "$type" : "MoleMole.AttachStateWithModifierMixin",

            "ConfigList":

            [

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_2",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 50,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_2_1",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": false,

                    "FrameCountHigh": 4,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_2_1",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 24,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_2_2",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": false,

                    "FrameCountHigh": 3,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_2_2",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 31,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_2_3",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": false,

                    "FrameCountHigh": 13,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_4",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 82,

                    "MaxFrameCountHigh": false,

                    "FrameCountHigh": 92,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Evade",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 6,

                    "MaxFrameCountHigh": false,

                    "FrameCountHigh": 31,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Teleport_FadeOut",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 6,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Teleport_FadeIn",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": false,

                    "FrameCountHigh": 1,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "InvisibleModifier",

                    ], 

                },

            ]

        }

    ],



    "Modifiers" : 

    {

        "InvisibleModifier" : 

        {

            "ModifierStacking" : "MultipleRefresh",

            "Duration" : -1,

            "IgnoreTimeScale" : false,

            

            "OnAdded" :

            [

                {

                    "$type":"MoleMole.ApplyModifier",

                    "ModifierName":"FadeOutModifier",

                    "Target":"Self",

                }

            ],



            "OnRemoved" :

            [

                {

                    "$type":"MoleMole.RemoveModifier",

                    "ModifierName":"FadeOutModifier",

                    "Target":"Self",

                },

                {

                    "$type":"MoleMole.ApplyModifier",

                    "ModifierName":"FadeInModifier",

                    "Target":"Self",

                },

            ],

        },



        "FadeInModifier" : 

        {

            "ModifierStacking" : "MultipleRefresh",

            "Duration" : 1.0,

            "IgnoreTimeScale" : false,

            

            "OnAdded" :

            [

                //开启自身Mesh（显示阴影）

                {

                    "$type" : "MoleMole.PopEntityVisibleWithTagAction",

                    "Tag" : "DeathXIII"

                },

                //执行Ditherd淡入

                {

                    "$type": "MoleMole.DitherFadeAction",

                    "DitherFadeType": "FadeIn",

                    "DitherFadeKey": "Monster_DeathXIII_Dither_Alpha_FadeIn",

                    "Duration": 0.15,

                    "Target" : "Self"

                }

            ],

        },



        "FadeOutModifier" : 

        {

            "ModifierStacking" : "MultipleRefresh",

            "Duration" : 1.0,

            "IgnoreTimeScale" : false,



            "OnAdded" :

            [

                //执行Ditherd淡出

                {

                    "$type": "MoleMole.DitherFadeAction",

                    "DitherFadeType": "FadeOut",

                    "DitherFadeKey": "Monster_DeathXIII_Dither_Alpha_FadeOut",

                    "Duration": 0.28,

                    "Target" : "Self"

                }

            ],



            "DelayHandlers" :

            [

                {

                    "DelayTime" : 0.28,

                    "TimeUpActions":

                    [

                        //关闭自身Mesh（消除阴影）

                        {

                            "$type": "MoleMole.PushEntityVisibleWithTagAction",

                            "Visible" : false,

                            "Tag" : "DeathXIII"

                        }

                    ]

                }

            ]

        }

    }

}