{

    "AbilityName" : "Golem_Ability_InDefenceMode_DefUp",

    "AbilityStacking": "Unique",



    "AbilityMixins" : 

    [

        {

            "$type" : "MoleMole.AttachStateWithModifierMixin",

            "ConfigList":

            [

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_5_DefenceStart",

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "AddDefenceMax"

                    ] 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Attack_5_DefenceLoop",

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "IsLoop": true,

                    "ModifierNameList":

                    [

                        "AddDefenceMax"

                    ] 

                },

                {

                    "LayerIndex": 0,

                    "AnimatorStateName": "Hit_InDefence",

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "IsLoop": false,

                    "ModifierNameList":

                    [

                        "AddDefenceMax"

                    ] 

                }

            ]

        }

    ],



    "Modifiers" : 

    {

        "AddDefenceMax" : 

        {

            "ModifierStacking" : "Refresh",

            "Duration" : -1,

            "IgnoreTimeScale" : false,



            "OnBeingHit":

            [

                {

                    "$type": "MoleMole.ModifyAttackDataAction",

                    "Target" : "Self",

                    "PropertyKey": "Actor_DamageTakeRatio", 

                    "PropertyValue": -999, 

                    "Predicates":

                    [

                        {

                            "$type": "MoleMole.ByHitAngleRange",

                            "AngleMin": 0,

                            "AngleMax": 180

                        },

                    ]

                }

            ],

            

            "OnRemoved" :

            [

                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "Golem_Ability_ShieldBreak_Effect",

                    "Target": "Self",

                    "Predicates" :

                    [

                        {

                            "$type": "MoleMole.ByAnimatorStateNormalizedTime",

                            "AnimatorStateName": "InDefence_Stun_Start",

                            "LayerIndex": 0,

                            "NormalizedTimeLow" : 0.0,

                            "NormalizedTimeHigh" : 1.0,

                        },

                    ]

                }

            ]  

        },



        //防御中被击晕（破防）触发的特效

        "Golem_Ability_ShieldBreak_Effect": 

        {

            "ModifierStacking" : "Unique",

            "Duration": 2,

            "OnAdded":

            [

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Monster_Golem_Defence_Broken_Spark_01",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            // "AttachPoint" : "bone_Death_Head",

                            "IsUseAttachPointPos" : true,

                            "IsUseAttachPointRotation" : true,

                        },

                        "Offset" : 

                        {

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

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

                            "IsUseRotationY" : true,

                            "IsUseRotationXZ" : true,

                        }

                    },

                },

            ],

        },



    }

}