{

    //死路巨人转阶段

    "AbilityName" : "Cottus_ChangePhase",

    "AbilityStacking":"UniqueOverrideMap",



    "AbilityMixins" : 

    [

        //添加锁血回调

        {

            "$type": "MoleMole.LockLifePropertyMixin",

            "RatioLockList":

            [

                {

                    "LockType": "Total",

                    "LockValue": "%AS_LockLifeRatio"

                }

            ],

        },

        //触发转阶段动作

        {

            "$type": "MoleMole.ActionsOnPropertyChangeMixin",

            "PropertyActions":

            [

                {

                    "PropertyType": "CurHP",

                    "ReferMaxPropertyType": "MaxHP",

                    "IsUsePercentage": true,

                    "ValueRangeActions":

                    [

                        {

                            "Val": "%AS_ChangePhaseHPRatio",

                            "HighToValueActions":

                            [

                                {

                                    "$type":"MoleMole.ApplyModifier",

                                    "ModifierName":"ListenHitBreakModifier_01",

                                    "Target":"Self",

                                },

                            ],

                        },

                    ],

                },  

            ],  

        },

    ],



    "Modifiers" : 

    {

        //转阶段监听

        "ListenHitBreakModifier_01":

        {

            "ModifierStacking": "Unique",

            "Duration": -1,

            "IgnoreTimeScale" : false,



            "OnBeingHitResolved" :

            [

                //触发受击表现

                {

                    "$type":"MoleMole.ApplyModifier",

                    "ModifierName":"TriggerActionModifier_01",

                    "Target":"Self",

                    "Predicates" :

                    [

                        {

                            "$type" : "MoleMole.ByHeavyAttack",

                            "IsHeavyAttack": true,

                        },

                        {

                            "$type" : "MoleMole.ByIsLocalAvatar",

                            "Target" : "Target",

                            "IsLocalAvatar" : true

                        }

                    ],

                },

                //逻辑旋转

                {

                    "$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":0.0, "z":0.0}

                            }

                        },

                        "RotateType" : "Instant",

                        "RotateSpeed" : 1,

                        "TargetUpdateMode" : "OnStart",

                        "ReachTargetStop" : true

                    },

                    "Predicates" :

                    [

                        {

                            "$type" : "MoleMole.ByHeavyAttack",

                            "IsHeavyAttack": true,

                        },

                        {

                            "$type" : "MoleMole.ByIsLocalAvatar",

                            "Target" : "Target",

                            "IsLocalAvatar" : true

                        }

                    ],

                },

            ],

        },



        //转阶段触发行为

        "TriggerActionModifier_01":

        {

            "ModifierStacking": "Unique",

            "Duration": -1,

            "IgnoreTimeScale" : false,



            "OnAdded" :

            [

                //触发Boss相机锁定

                {

                    "$type" : "MoleMole.CameraLockOnAction",

                    "Target" : "Self",

                    "CameraLockTargetKey" : "BossPeform_CamLock_01",

                    "IsLockPermanently" : true

                },

                //触发受击动作

                {

                    "$type" : "MoleMole.SetAnimCtrlerParamAction",

                    "ParamType" : 1,

                    "ParamName" : "Trigger_ChangePhase",

                    "Target" : "Self",

                    "BoolVal" : true,

                },

                //移除Modifier

                {

                    "$type": "MoleMole.RemoveModifier",

                    "ModifierName":"ListenHitBreakModifier_01",

                    "Target":"Self",

                },

                {

                    "$type": "MoleMole.RemoveModifier",

                    "ModifierName":"TriggerActionModifier_01",

                    "Target":"Self",

                },

            ],

        },

    },



    "AbilitySpecials" : 

    {

        //锁血百分比

        "AS_LockLifeRatio" :

        {

            "Value" : 0.03,

        },



        //转阶段血量百分比

        "AS_ChangePhaseHPRatio" :

        {

            "Value" : 0.05

        },

    }

}