{

    "AbilityName" : "DeathXIII_Teleport_NodePoint_ACT10",

    "AbilityStacking":"Unique",



    "DefaultModifier":

    {

        "OnAdded":

        [

            //添加Tag

            {

                "$type": "MoleMole.HandleAnimatorZoneTagsAction",

                "Target" : "Self",

                "AnimatorStateTags": ["TeleportNodePoint"] ,

                "IsAdd": true ,

            }

        ]

    },



    "AbilityMixins": 

    [

        {

            "$type": "MoleMole.ActwithStateFrameMixin",

            "ConfigList":

            [

                {

                    "AnimatorStateName": "Teleport_FadeIn",

                    "LayerIndex": 0,

                    "Frame": 1,

                    "ForceTriggerOnTransitionOut": false,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type" : "MoleMole.TriggerAbilityAction",

                            "AbilityName" : "DeathXIII_Teleport_NodePoint_ACT10"

                        }

                    ]

                },

                {

                    "AnimatorStateName": "Teleport_FadeIn",

                    "LayerIndex": 0,

                    "Frame": 60,

                    "ForceTriggerOnTransitionOut": true,

                    "IsLoop": false,

                    "ActionList": 

                    [

                        {

                            "$type": "MoleMole.HandleAnimatorZoneTagsAction",

                            "Target" : "Self",

                            "AnimatorStateTags": ["TeleportNodePoint"] ,

                            "IsAdd": false ,

                        }

                    ]

                },

            ]

        }

    ],



    "OnAbilityStart":

    [

        //执行逻辑位移与逻辑旋转

        {

            "$type": "MoleMole.ApplyLogicMoveAction",

            "Target": "Self",



            "MovementConfig" :

            {

                "$type" : "MoleMole.ConfigMovementTarget",

                "Duration" : 0.1,

                "Gravity" : 0.0,

                "HitTangentialRatio" : 1,

                "HitNormalRatio" : 1,

                "TimesUpMoveOption" : "Stop",

                "TargetPosRot" : 

                {

                    "CoordsOption" : "ReferTarget",

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "NodePoint",

                        "BackupOffsetReferTarget" : "Self",

                        "NodePoint" : "MonsterPos_D28",

                    },

                    "Offset" : 

                    {

                        "PositionOffset" : {"x":0.0, "y":0.0, "z":0.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,

            },



            "RotationConfig" :

            {   

                "$type" : "MoleMole.ConfigRotationToTarget",

                "Duration" : 0.1,

                "TargetPosRot" : 

                {

                    "CoordsOption" : "ReferTarget",

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "NodePoint",

                        "BackupOffsetReferTarget" : "Self",

                        "NodePoint" : "MonsterPos_D28",

                    },

                    "Offset" : 

                    {

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

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

                    }

                },

                "RotateType" : "Instant",

                "RotateSpeed" : 1,

                "TargetUpdateMode" : "Always",

                "ReachTargetStop" : true

            },



            "Predicates": 

            [

                {

                    "$type": "MoleMole.ByIsInZoneTags",

                    "Target": "Self",

                    "Tags": 

                    [

                        "TeleportNodePoint"

                    ]

                }

            ]

        },

        {

            "$type" : "MoleMole.WriteAIParamAction",

            "Target" : "Self",

            "ParamName" : "Bool_IsFinish",

            "BoolParamValue" : true,

        },

    ]

}