{

    // 测试脚本

    "AbilityName" : "FierySperpent_Test",

    "AbilityStacking": "Unique",



    "DefaultModifier":

    {

        "OnBeingHit" :

        [      

        {            

            "$type": "MoleMole.ApplyLogicMoveAction",//触发调用位移效果

            "Target": "Self",//效果作用对象自己

            "RotationConfig" ://强制转向

            {   

                "$type" : "MoleMole.ConfigRotationToTarget",

                "Duration" : 0.1,

                "TargetPosRot" : 

                {

                    "CoordsOption" : "Relative",

                    "TargetOption" : 

                    {

                        "$type" : "MoleMole.ConfigPosRotReferTarget",

                        "OffsetReferTarget" : "Other",

                        "BackupOffsetReferTarget" : "None"

                    },

                    "Offset" : 

                    {

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

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

                    }

                },

                "RotateType" : "Instant",

                "RotateSpeed" : 1,

                "TargetUpdateMode" : "OnStart",

                "ReachTargetStop" : true

            },

            "MovementConfig" :

            {

                //轻受击移动一小段距离

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

                // "Duration" : 0.2,

                // "Gravity" : 0.0,

                // "HitTangentialRatio" : 0,

                // "HitNormalRatio" : 0,

                // "TimesUpMoveOption" : "Stop",//速度停止方案：Remain=保持当前速度，Stop=直接停止



                // "InitVelocity" : {"x":0, "y":0, "z":-15},

                // "Acceleration" : {"x":0, "y":0, "z":50},

                // "CoordinateType" : "Local",

                "$type" : "MoleMole.ConfigMovementCurve",

                "Duration" : 1.0,

                "Gravity" : 0.0,

                "HitTangentialRatio" : 0,

                "HitNormalRatio" : 0,

                "TimesUpMoveOption" : "Stop",//速度停止方案：Remain=保持当前速度，Stop=直接停止



                "VelocityCurveX" : "M_FierySerpent_HitBackX",

                "VelocityCurveY" : "M_FierySerpent_HitBackY",

                "VelocityCurveZ" : "M_FierySerpent_HitBackZ",

                "ScaleRatio" : 10,//曲线范围缩放

                "CoordinateType" : "Local",//坐标系类型

            },

            // "Predicates" : 

            // [

            //     {

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

            //         // "TargetHitEffects":   

            //         // [

            //         //     "HitGround"

            //         // ],

            //         "TargetSubHitEffectGrounds":   

            //         [

            //             "Light"

            //         ]

            //     },

            // ]

        },

        ],

    },



}