{

    // Billy枪口过热特效脚本

    "AbilityName" : "Billy_SpecialEffect_Overheat",

    "AbilityStacking": "Unique",



    "AbilityMixins" :

    [

        {

            "$type" : "MoleMole.AttachStateWithModifierMixin",

            "ConfigList":

            [

                //普通攻击（第一段）（废弃）

                //普通攻击（第二段）

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_02_Start",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 14,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_02_Start_02_01",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 5,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_02_Start_02_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 5,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_02_A",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": true,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_02_B",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": true,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                //普通攻击（第三段）

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 17,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_B_01",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_B_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_L_01",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_L_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_R_01",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_R_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_F_01",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_Start_02_F_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 3,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_A",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": true,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_B",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": true,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Normal_03_End_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 0,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 30,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },



                //冲刺攻击和闪避反击

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Rush",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 12,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Rush_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 9,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Counter",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 20,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },



                //特殊攻击

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Branch_01",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 18,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Branch_02",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 19,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Branch_03",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 14,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_Branch_04",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 26,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },



                // QTE攻击

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "SwitchIn_Attack",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 27,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "SwitchIn_Attack_Ex",

                    "MaxFrameCountLow": false,

                    "FrameCountLow": 27,

                    "MaxFrameCountHigh": true,

                    "FrameCountHigh": 0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "SepcialEffectModifier_Overheat",

                    ], 

                },

            ],

        },

    ],



    "Modifiers" :

    {

        "SepcialEffectModifier_Overheat":

        {

            "ModifierStacking": "Unique",

            "Duration": -1,



            "OnAdded" :  

            [

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Billy_Overheat_02",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            "AttachPoint" : "Bn_GunBodyF_L",

                            "IsUseAttachPointPos" : true,

                            "IsUseAttachPointRotation" : true,

                        },

                        "Offset" : 

                        {

                            "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0},

                            "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},

                            "IsUseRotationY" : true,

                            "IsUseRotationXZ" : true,

                        }

                    },

                },

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Billy_Overheat_02",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            "AttachPoint" : "Bn_GunBodyF_R",

                            "IsUseAttachPointPos" : true,

                            "IsUseAttachPointRotation" : true,

                        },

                        "Offset" : 

                        {

                            "PositionOffset" : {"x":0.0, "y":0.0, "z":0.0},

                            "AngleOffset" : {"x":0.0, "y":0.0, "z":0.0},

                            "IsUseRotationY" : true,

                            "IsUseRotationXZ" : true,

                        }

                    },

                },

            ],

        },

    }

}