{

    //迟缓力场

    "AbilityName" : "Bangboo_Eous001_Skill_Shield_Sluggish_Field",

    "AbilityStacking": "Unique",



    "OnAbilityStart":

    [

        {

            "$type": "MoleMole.ApplyModifier",

            "ModifierName": "FieldRangeModifier",

            "Target" : "Self"

        }

    ],

      

    "Modifiers" :

    {

        "FieldRangeModifier" : 

        {

            "ModifierStacking" : "MultipleRefresh",

            "Duration" : -1, //ModifierMixin与Modifier同生共死

            "MaxStackingNumber" : 1, //达到叠层上限后，最新的取代最旧的

            "IgnoreTimeScale" : false,



            "OnAdded" : 

            [

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Bangboo_Shield_Sluggish_Field_Start",

                    "Target": "LocalAvatar",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "LocalAvatar",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "LocalAvatar",

                        },

                        "Offset" : 

                        {

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

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

                            "IsUseRotationY" : true,

                            "IsUseRotationXZ" : false,

                        }

                    },

                },

            ],



            "ModifierMixins" : 

            [

                {

                    "$type": "MoleMole.FieldRangeMixin",

                    "TotalDuration": "%AS_FieldDuration", //有效时长



                    //"StartEffectPattern": "Eff_Bangboo_Field_Weaken_Start",

                    //"LoopEffectPattern": "Eff_Bangboo_Shield_Sluggish_Field_Start",

                    "EndEffectPattern": "Eff_Bangboo_Shield_Sluggish_Field_End",

                    "IsFollow": false,

                    

                    //力场初始位置

                    "FieldInitPosRot" : 

                    {

                        "CoordsOption" : "LocalAvatar",

                        "NeedRaycastGround": true,

                        //"RaycastGroundOffset": 0.0,

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "LocalAvatar",

                        },

                        "Offset" : 

                        {

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

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

        

                            "IsUseRotationY" : true,

                            "IsUseRotationXZ" : false,

                        },

                    },



                    //力场判定尺寸及位置

                    "ColliderConfig":

                    {

                        "ColliderType" : "Sphere",

                        "SphereColliderRadius" : 3,

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

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

                    },



                    //进入时

                    "FieldEnterActions":

                    [

                        {

                            "$type": "MoleMole.ApplyModifier",

                            "ModifierName": "TimeSlowModifier",

                            "Target" : "Target",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByRelativeCampType",

                                    "Relationship": "Enemy",

                                    "Target" : "Target",

                                },

                            ]

                        },

                        {

                            "$type": "MoleMole.ApplyModifier",

                            "ModifierName": "ReduceDamageModifier",

                            "Target" : "Target",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByRelativeCampType",

                                    "Relationship": "Allied",

                                    "Target" : "Target",

                                },

                            ]

                        },

                    ],



                    //退出时

                    "FieldExitActions":

                    [

                        {

                            "$type": "MoleMole.RemoveModifier",

                            "ModifierName": "TimeSlowModifier",

                            "Target" : "Target",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByRelativeCampType",

                                    "Relationship": "Enemy",

                                    "Target" : "Target",

                                },

                            ]

                        },

                        {

                            "$type": "MoleMole.RemoveModifier",

                            "ModifierName": "ReduceDamageModifier",

                            "Target" : "Target",

                            "Predicates": 

                            [

                                {

                                    "$type": "MoleMole.ByRelativeCampType",

                                    "Relationship": "Allied",

                                    "Target" : "Target",

                                },

                            ]

                        },

                    ],



                    //停止时

                    "FieldStopActions":

                    [

                        {

                            "$type": "MoleMole.RemoveModifier",

                            "ModifierName": "FieldRangeModifier",

                            "Target" : "Self",

                        }

                    ],

                },

            ]

        },



        "TimeSlowModifier": 

        {

            "ModifierStacking" : "Refresh",

            "Duration": -1,

            "OnAdded":

            [

                {

                    "$type" : "MoleMole.TimeSlowByConfigKeyAction",

                    "ConfigKey" : "Bangboo_Field_Sluggish_TimeSlow_01",

                    "IsGlobal" : false,

                    "Target" : "Self",

                },

            ],



            "OnRemoved":

            [

                {

                    "$type" : "MoleMole.InterruptTimeSlowAction",

                    "TargetPriority" : 1,

                    "IsGlobal" : false,

                },

            ]

        },



        //免伤、霸体与特效表现

        "ReduceDamageModifier" :

        {

            "ModifierStacking" : "Unique",

            "Duration" : -1,



            // "OnAdded":

            // [

            //     {  

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

            //       "EffectPattern" : "Eff_Avatar_LevelUp_01",

            //       "Target" : "Self"

            //     }

            // ],



            // "OnRemoved":

            // [

            //     {  

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

            //       "EffectPattern" : "Eff_Avatar_LevelUp_02",

            //       "Target" : "Self"

            //     }

            // ],



            "OnBeingHitPre":

            [

                {

                    "$type": "MoleMole.ModifyAttackDataAction",

                    "Target" : "Self",

                    "PropertyKey": "Actor_DamageTakeRatio", 

                    "PropertyValue": -10, 

                },

                {

                    "$type" : "MoleMole.ApplyModifier",

                    "ModifierName" : "ResistBreakLevelModifier",

                    "Target" : "Self",

                },

            ],



            "OnBeingHitResolved":

            [

                {

                    "$type" : "MoleMole.RemoveModifier",

                    "ModifierName" : "ResistBreakLevelModifier",

                    "Target" : "Self",

                },

            ]

        },



        "ResistBreakLevelModifier":

        {

            "ModifierStacking": "MultipleRefresh",

            "Duration" : -1,



            "OnAdded":

            [

                {

                    "$type": "MoleMole.SetRBLAction",

                    "Tag": "Shield_Sluggish_Field",

                    "RBL": 3,

                    "Target": "Self"

                },

            ],



            "OnRemoved":

            [

                {

                    "$type": "MoleMole.UnsetRBLAction",

                    "Tag": "Shield_Sluggish_Field",

                    "Target": "Self"

                },

            ],

        },

    },



    "AbilitySpecials":

    {

        //力场持续时间

        "AS_FieldDuration":

        {

            "Value" : 3

        },

    }

}