{

    // 以太剑盾身体特效触发

    "AbilityName" : "Durahan_Body_SFX",

    "AbilityStacking": "Unique",



    "DefaultModifier":

    {

        "OnAdded":

        [

            {

                "$type": "MoleMole.ApplyModifier",

                "ModifierName": "Durahan_Demote_SFX",

                "Target": "Self",

                "Predicates": 

                [

                    {

                        "$type": "MoleMole.ByTags",

                        "Target": "Self",

                        "TagList": ["Demote"]

                    },

                ]

            },

            {

                "$type": "MoleMole.ApplyModifier",

                "ModifierName": "Durahan_Promote_SFX",

                "Target": "Self",

                "Predicates": 

                [

                    {

                        "$type": "MoleMole.ByTags",

                        "Target": "Self",

                        "TagList": ["Promote"]

                    },

                ]

            },

        ],



        "OnKilled":

        [

            {

                "$type" : "MoleMole.SpecialEffectFadeAction",

                "EffectNames" : ["Eff_Monster_Common_Ether_HeadPoint"],

                //"OverrideFadeOutTime" : 0.15,

                //"OverrideFadeOutCurve" : "QuintEaseInReverse",

                "Target" : "Self",

            },

            {

                "$type" : "MoleMole.SpecialEffectFadeAction",

                "EffectNames" : ["Eff_Monster_Common_Ether_HeadPoint_02"],

                //"OverrideFadeOutTime" : 0.15,

                //"OverrideFadeOutCurve" : "QuintEaseInReverse",

                "Target" : "Self",

            },

        ],

    },



    //特定动画中，隐藏部位特效

    "AbilityMixins" : 

    [

        {

            "$type" : "MoleMole.AttachStateWithModifierMixin",

            "ConfigList":

            [

                //转阶段变身时

                {

                    "AnimatorStateName": "Hit_Break_NovicePerform_01_01",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 1.0,

                    "ModifierNameList":

                    [

                        "HideEffectModifier",

                    ] 

                },

                {

                    "AnimatorStateName": "Hit_Break_NovicePerform_01_02",

                    "LayerIndex": 0,

                    "NormalizedTimeLow": 0.0,

                    "NormalizedTimeHigh": 0.444,

                    "ModifierNameList":

                    [

                        "HideEffectModifier",

                    ] 

                },

            ]

        },

    ],



    "Modifiers" : 

    {

        "Durahan_Demote_SFX": 

        {

            "ModifierStacking" : "Unique",

            "Duration": -1,

            "OnAdded":

            [

                //绿球_常规版

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Monster_Common_Ether_HeadPoint",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            "AttachPoint" : "Bone01",

                            "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,

                        }

                    },

                },

            ],

        },



        "Durahan_Promote_SFX": 

        {

            "ModifierStacking" : "Unique",

            "Duration": -1,

            "OnAdded":

            [

                //绿球_升阶版

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Monster_Common_Ether_HeadPoint_02",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            "AttachPoint" : "Bone01",

                            "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,

                        }

                    },

                },

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Monster_Durahan_Body_Sword",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            "AttachPoint" : "Weapon_03",

                            "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,

                        }

                    },

                },

                {

                    "$type": "MoleMole.AttachEffect",

                    "EffectPattern": "Eff_Monster_Durahan_Body_Shield",

                    "Target": "Self",

                    "AttachEffectPosRot" : 

                    {

                        "CoordsOption" : "ReferTarget",

                        "TargetOption" : 

                        {

                            "$type" : "MoleMole.ConfigPosRotReferTarget",

                            "OffsetReferTarget" : "Self",

                            "AttachPoint" : "Bip001 Prop1",

                            "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,

                        }

                    },

                },

            ],

        },



        //隐藏部位特效

        "HideEffectModifier": 

        {

            "ModifierStacking" : "MultipleRefresh",

            "Duration": -1,

            "IgnoreTimeScale" : false,



            "OnAdded":

            [

                {

                    "$type": "MoleMole.RemoveModifier",

                    "ModifierName": "Durahan_Demote_SFX",

                    "Target": "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByTags",

                            "Target": "Self",

                            "TagList": ["Demote"]

                        },

                    ]

                },

                {

                    "$type": "MoleMole.RemoveModifier",

                    "ModifierName": "Durahan_Promote_SFX",

                    "Target": "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByTags",

                            "Target": "Self",

                            "TagList": ["Promote"]

                        },

                    ]

                },

            ],



            "OnRemoved":

            [

                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "Durahan_Demote_SFX",

                    "Target": "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByTags",

                            "Target": "Self",

                            "TagList": ["Demote"]

                        },

                    ]

                },

                {

                    "$type": "MoleMole.ApplyModifier",

                    "ModifierName": "Durahan_Promote_SFX",

                    "Target": "Self",

                    "Predicates": 

                    [

                        {

                            "$type": "MoleMole.ByTags",

                            "Target": "Self",

                            "TagList": ["Promote"]

                        },

                    ]

                },

            ],

        },

    },

}