{

    //处理炮台逻辑相关内容,特效相关全部放在Teller_StateEffect处理

    "AbilityName": "Teller_Default_Auto_Delay_2",

    "AbilityStacking": "Unique",

    "DefaultModifier": 

    {

        "OnAdded": 

        [           

            //移除第一个ability

            {

                "$type" : "MoleMole.RemoveAbilityAction",

                "AbilityName" : "Teller_Default",

                "Target":"Self",

            }, 

            {

                "$type": "MoleMole.ApplyModifier",

                "ModifierName": "FirstAttack_Delay",

                "Target": "Self"

            },

            {

                "$type": "MoleMole.ApplyModifier",

                "ModifierName": "LevelEndModier",

                "Target" : "Self"

            },

        ],

    },



    "Modifiers" : 

    {

        "FirstAttack_Delay": 

        {

            "ModifierStacking" : "Unique",

            "Duration": 2,



            "OnRemoved":

            [

                {

                    "$type" : "MoleMole.ApplyModifier",

                    "ModifierName" : "Teller_Active",

                    "Target" : "Self",

                },

            ],

        },

        

        "Teller_Active": 

        {

            //激活,释放打击帧,并刷新陷阱CD倒计时

            "ModifierStacking": "Unique",

            "Duration": 2,



            "OnAdded":  

            [

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 1,

                    "ParamName" : "Trigger_Attack",

                    "Target" : "Self",

                    "BoolVal" : true,

                },

                {

                    //移除idle

                    "$type": "MoleMole.RemoveModifier",

                    "ModifierName": "Teller_Idle",

                    "Target": "Self"

                },

            ],



            "OnRemoved": 

            [

                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "Teller_CD",

                    "Target": "Self",

                }

            ]

        },

        "Teller_CD": 

        {

            //维持5秒cd状态后再回到idle

            "ModifierStacking": "Refresh",

            "Duration": 4, 

            "OnAdded":

            [

                 //让检票器进入cd的状态

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 3,

                    "ParamName" : "CoolDownType",

                    "Target" : "Self",

                    "IntVal" : 2,

                },

                {

                    "$type": "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType": 2,

                    "ParamName": "Bool_IsCoolDown",

                    "Target": "Self",

                    "BoolVal": true,

                },

                // {

                //     "$type": "MoleMole.LogStringAction", //打Log调试

                //     "LogStr": "进入CD!!!"

                // },

            ],



            "OnRemoved": 

            [

                //让检票器进入cd的状态

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 3,

                    "ParamName" : "CoolDownType",

                    "Target" : "Self",

                    "IntVal" : 2,

                },

                {

                    "$type": "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType": 2,

                    "ParamName": "Bool_IsCoolDown",

                    "Target": "Self",

                    "BoolVal": false,

                },



                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "Teller_End",

                    "Target": "Self",



                },

                // {

                //     "$type": "MoleMole.LogStringAction", //打Log调试

                //     "LogStr": "进入END???"

                // },

            ]

        },



        "Second_Delay": 

        {

            "ModifierStacking" : "Unique",

            "Duration": 0.5,



            "OnRemoved":

            [

                {

                    "$type" : "MoleMole.ApplyModifier",

                    "ModifierName" : "Teller_End",

                    "Target" : "Self",

                },

            ],

        },



        "Teller_End":

        {

            "Duration": 3.5, 



            "OnAdded": 

            [

                {

                    "$type": "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType": 2,

                    "ParamName": "Idle",

                    "Target": "Self",

                    "BoolVal": false,

                },

            ],



            "OnRemoved": 

            [



                // {

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

                //     "ParamType": 2,

                //     "ParamName": "Idle",

                //     "Target": "Self",

                //     "BoolVal": true,

                // },



                // {

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

                //     "ParamType": 2,

                //     "ParamName": "End",

                //     "Target": "Self",

                //     "BoolVal": false,

                // },

                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "FirstAttack_Delay",

                    "Target": "Self",

                }

            ]

        },

        "LevelEndModier":

        {

            "ModifierStacking": "Unique",

            "Duration":-1,

            "IgnoreTimeScale": false,

            "OnLevelEndNodeInvoke":

            [

                {

                    "$type": "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType": 2,

                    "ParamName": "End",

                    "Target": "Self",

                    "BoolVal": true,

                },

                // {

                //     "$type": "MoleMole.LogStringAction", //打Log调试

                //     "LogStr": "levelend!!!"

                // }

            ]

        }

    }

}