{

    // 以太爆弹自爆状态下受击击退

    "AbilityName" : "FierySerpent_BeHit_Beatback",

    "AbilityStacking": "Unique",



    "OnAbilityStart" :

    [

        {

            "$type": "MoleMole.ApplyModifier",

            "ModifierName": "FierySerpent_BeHit_Beatback",

            "Target": "Self",

        }

    ],

    "Modifiers" : 

    {

        //附加modifiers

        "FierySerpent_BeHit_Beatback": 

        {

            "ModifierStacking" : "Unique",

            "Duration": -1,



            "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.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":-35},

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

                    "CoordinateType" : "Local",

                },

                "Predicates" : 

                [

                    {

                        "$type" : "MoleMole.ByTargetHitEffect",

                        "TargetSubHitEffectGrounds":   

                        [

                            "Heavy"

                        ]

                    },

                ]

            },

            ],

        },

    },

}