{

    // Anton连点判定

    "AbilityName" : "Lucy_Wood_Bounce",

    "AbilityStacking":"Unique",



    "AbilityMixins" :

    [

        {

            "$type": "MoleMole.AttachStateWithModifierMixin",

            "ConfigList": 

            [

                {

                    "AnimatorStateName": "Attack_Branch_01_Straight",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 0.16,

                    "ModifierNameList": [

                        "ListernHitWallModifier",

                        "ListernHitModifier",

                    ]

                },

                {

                    "AnimatorStateName": "Attack_Branch_01_Late",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 0.13,

                    "ModifierNameList": [

                        "ListernHitWallModifier",

                        "ListernHitModifier",

                    ]

                },

                {

                    "AnimatorStateName": "Attack_Branch_01_Early",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.19,

                    "NormalizedTimeHigh": 0.344,

                    "ModifierNameList": [

                        "ListernHitWallModifier",

                        "ListernHitModifier",

                    ]

                },

                {

                    "AnimatorStateName": "Attack_Branch_02_Straight",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 0.16,

                    "ModifierNameList": [

                        "ListernHitWallModifier",

                        "ListernHitModifier",

                    ]

                },

                {

                    "AnimatorStateName": "Attack_Branch_02_Late",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 0.13,

                    "ModifierNameList": [

                        "ListernHitWallModifier",

                        "ListernHitModifier",

                    ]

                },

                {

                    "AnimatorStateName": "Attack_Branch_02_Early",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.19,

                    "NormalizedTimeHigh": 0.344,

                    "ModifierNameList": [

                        "ListernHitWallModifier",

                        "ListernHitModifier",

                    ]

                },

            ]

        },

        

    ],



    "Modifiers":

    {

        "ListernHitWallModifier":

        {

            "ModifierStacking": "Unique",

            "Duration" : -1,

            "IgnoreTimeScale" : false,



            "ModifierMixins":

            [

                {

                    "$type" : "MoleMole.CollideGroundWallMixin",

                    "EnterWallActions":

                    [

                        // {  

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

                        //     "EffectPattern" : "Eff_Avatar_LevelUp_02",

                        //     "Target" : "Self",

                        // },

                        {

                            "$type" : "MoleMole.SetAnimCtrlerParamAction",

                            "ParamType" : 1,

                            "ParamName" : "Trigger_HitWall",

                            "Target": "Self",

                            "BoolVal" : true,

                        },

                    ]

                }

            ]

        },



        "ListernHitModifier":

        {

            "ModifierStacking": "Unique",

            "Duration" : -1,

            "IgnoreTimeScale" : false,



            "OnAttackLanded": 

            [

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 1,

                    "ParamName" : "Trigger_HitWall",

                    "Target": "Self",

                    "BoolVal" : true,

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorEventIDs",

                            "AnimatorEventIDs": 

                            [

                                "Lucy_Wood_Attack_Branch_01_AttackProperty_01_Predicate",

                                "Lucy_Wood_Attack_Branch_01_AttackProperty_02",

                                "Lucy_Wood_Attack_Branch_01_AttackProperty_03",

                                "Lucy_Wood_Attack_Branch_02_AttackProperty_01_Predicate",

                                "Lucy_Wood_Attack_Branch_02_AttackProperty_02",

                                "Lucy_Wood_Attack_Branch_02_AttackProperty_03",

                            ]

                        }

                    ]

                },

                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "RandomAngleModifier",

                    "Target": "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorEventIDs",

                            "AnimatorEventIDs": 

                            [

                                "Lucy_Wood_Attack_Branch_01_AttackProperty_01",

                                "Lucy_Wood_Attack_Branch_02_AttackProperty_01",

                            ]

                        }

                    ],

                },



                //生成爆炸01

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Lucy_Wood_Explosion_01",

                    "Target" : "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorEventIDs",

                            "AnimatorEventIDs": 

                            [

                                "Lucy_Wood_Attack_Branch_01_AttackProperty_02",

                            ]

                        }

                    ]

                },



                //生成爆炸02

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Lucy_Wood_Explosion_02",

                    "Target" : "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorEventIDs",

                            "AnimatorEventIDs": 

                            [

                                "Lucy_Wood_Attack_Branch_01_AttackProperty_03",

                            ]

                        }

                    ]

                },



                //生成爆炸03

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Lucy_Wood_Explosion_03",

                    "Target" : "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorEventIDs",

                            "AnimatorEventIDs": 

                            [

                                "Lucy_Wood_Attack_Branch_02_AttackProperty_02",

                            ]

                        }

                    ]

                },



                //生成爆炸04

                {

                    "$type" : "MoleMole.TriggerAbilityAction",

                    "AbilityName" : "Lucy_Wood_Explosion_04",

                    "Target" : "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorEventIDs",

                            "AnimatorEventIDs": 

                            [

                                "Lucy_Wood_Attack_Branch_02_AttackProperty_03",

                            ]

                        }

                    ]

                },

            ]

        },



        "RandomAngleModifier":

        {

            "ModifierStacking": "Unique",

            "Duration" : 0.03,

            "IgnoreTimeScale" : false,



            "OnAdded":

            [

                {

                    "$type": "MoleMole.ApplyLogicMoveAction",

                    "Target": "Self",



                    "RotationConfig" :

                    {   

                        "$type" : "MoleMole.ConfigRotationToTarget",

                        "Duration" : 0.1,

                        "TargetPosRot" : 

                        {

                            "CoordsOption" : "ReferTarget",

                            "TargetOption" : 

                            {

                                "$type" : "MoleMole.ConfigPosRotReferTarget",

                                "OffsetReferTarget" : "Self",

                            },

                            "Offset" : 

                            {

                                //看向目标点前方无限远处，即和目标点朝向保持一致

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

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

                                "RandomAngleRange": {"x":0.0, "y":360.0, "z":0.0},

                                "IsUseRotationY" : true,

                                "IsUseRotationXZ" : true,

                                "IsClampOffsetDistance" : false

                            }

                        },

                        "RotateType" : "Instant",

                        "RotateSpeed" : 1,

                        "TargetUpdateMode" : "OnStart",

                        "ReachTargetStop" : true

                    },

                },

            ]

        }

    }

}