{

    "AbilityName" : "Monster_Common_Teleport",

    "AbilityStacking":"Unique",



    //瞬移，保持跟随



    "OnAbilityStart":

    [

        {

            "$type": "MoleMole.DitherFadeAction",

            "DitherFadeType": "FadeIn",

            "DitherFadeKey": "Monster_Common_Dither_Alpha_FadeIn",

            "Duration": 0.3,

            "Target" : "Self"

        },

        {

            "$type": "MoleMole.ApplyLogicMoveAction",

            "Target": "Self",



            "MovementConfig" :

            {

                "$type" : "MoleMole.ConfigMovementTarget",

                "Duration" : 0.1,

                "Gravity" : 0.0,

                "HitTangentialRatio" : 1,

                "HitNormalRatio" : 1,

                "TimesUpMoveOption" : "Stop",

                "TargetPosRot" : 

                {

                    "CoordsOption" : "ReferTarget",

                    "NeedRaycastGround" : true,

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "Camera"

                    },

                    "Offset" : 

                    {

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

                        "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

            },



            "RotationConfig" :

            {   

                "$type" : "MoleMole.ConfigRotationToTarget",

                "Duration" : 0.1,

                "TargetPosRot" : 

                {

                    "CoordsOption" : "Camera",

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "LocalAvatar"

                    },

                    "Offset" : 

                    {

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

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

                    }

                },

                "RotateType" : "Instant",

                "RotateSpeed" : 1,

                "TargetUpdateMode" : "Always",

                "ReachTargetStop" : true

            }

        }

    ]

}