{

    "AbilityName" : "Lucy_Wood_Teleport",

    "AbilityStacking":"Unique",



    //瞬移，保持跟随



    "OnAbilityStart":

    [

        {

            "$type": "MoleMole.DitherFadeAction",

            "DitherFadeType": "FadeIn",

            "DitherFadeKey": "Default_Dither_Alpha_FadeIn",

            "Duration": 0.3,

            "Target" : "Self"

        },





        {

            "$type": "MoleMole.ApplyLogicMoveAction",

            "Target": "Self",

            "Predicates": 

            [

                {

                    "$type": "MoleMole.ByAnimCtrlerParam",

                    "ParamType": 3,

                    "ParamName": "Int_WoodNum",

                    "CompareType": "Equal",

                    "IntVal" : 0,

                },

                {

                    "$type": "MoleMole.ByAnimatorStateNormalizedTime",

                    "AnimatorStateName": "SwitchIn_Normal",

                    "Target":"Self",

                    "LayerIndex": 0,

                    "NormalizedTimeLow" : 0.0,

                    "NormalizedTimeHigh" : 1.0,

                },

            ],



            "MovementConfig" :

            {

                "$type" : "MoleMole.ConfigMovementTarget",

                "Duration" : 0.1,

                "Gravity" : 0.0,

                "HitTangentialRatio" : 1,

                "HitNormalRatio" : 1,

                "TimesUpMoveOption" : "Stop",

                //此处可迭代成LucyWoodFollowPoint点，参考Lucy_Wood_Summon.而LucyFollowPoint可拆分成SpawnPoint和TeleportPoint以及BranchAttackPoint等等

                "TargetPosRot" : 

                {

                    "CoordsOption" : "Relative",

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "LocalAvatar"

                    },

                    "Offset" : 

                    {

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

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

                        "IsClampOffsetDistance" : false

                    }

                },

                "DefaultOffset" : {"x":0.0, "y":0.0, "z":5.0},



                "MoveType":

                {

                    "$type" : "MoleMole.MovementTypeInstant",

                    "NeedRayCastCheck" : false,  //本次瞬移能够穿墙

                },



                "TargetUpdateMode" : "Always",

                "ReachTargetStop" : true

            }

        },

        

        {

            "$type": "MoleMole.ApplyLogicMoveAction",

            "Target": "Self",

            "Predicates": 

            [  

                {

                    "$type": "MoleMole.ByNot",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByAnimatorStateNormalizedTime",

                            "AnimatorStateName": "SwitchIn_Normal",

                            "Target":"Self",

                            "LayerIndex": 0,

                            "NormalizedTimeLow" : 0.0,

                            "NormalizedTimeHigh" : 1.0,

                        },

                    ]

                }

            ],



            "MovementConfig" :

            {

                "$type" : "MoleMole.ConfigMovementTarget",

                "Duration" : 0.1,

                "Gravity" : 0.0,

                "HitTangentialRatio" : 1,

                "HitNormalRatio" : 1,

                "TimesUpMoveOption" : "Stop",

                //此处可迭代成LucyWoodFollowPoint点，参考Lucy_Wood_Summon.而LucyFollowPoint可拆分成SpawnPoint和TeleportPoint以及BranchAttackPoint等等

                "TargetPosRot" : 

                {

                    "CoordsOption" : "Relative",

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "LocalAvatar"

                    },

                    "Offset" : 

                    {

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

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

                        "IsClampOffsetDistance" : false

                    }

                },

                "DefaultOffset" : {"x":0.0, "y":0.0, "z":5.0},



                "MoveType":

                {

                    "$type" : "MoleMole.MovementTypeInstant",

                    "NeedRayCastCheck" : false,  //本次瞬移能够穿墙

                },



                "TargetUpdateMode" : "Always",

                "ReachTargetStop" : true

            }

        }

    ]

}