{

	//碎冰会引发失温，该效果每10秒可触发1次

    //【失温】：将范围内敌人【冻结】，使敌人碎冰的攻击伤害提升500%



	"AbilityName" : "Card_Froze_1001108",

	"AbilityStacking":"Unique",

	"DefaultModifier":

	{

		"ModifierStacking":"Unique",

        "OnAdded":

        [

            {

                //初始每个角色随机SP

                "$type":"MoleMole.SetAbilitySpecialByExpression",

                "ParamName":"ExSkill",

                "ValueType":"int",

                "Expression":"item(1001104)"

            },

            {

                "$type":"MoleMole.ApplyModifier",

                "ModifierName":"IceBurst_Modifiers",

                "Target":"Self"

            }

        ]

	},

    "Modifiers" : 

    {

        //冰爆modifiers

        "IceBurst_Modifiers": 

        {

            "ModifierStacking" : "Unique",

            "Duration": -1,

            "IgnoreTimeScale" : false,



            "OnDestroyFrozen":

            [

                // {

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

                //     "EffectPattern" : "Eff_Avatar_LevelUp_01",

                //     "Target" : "Self"

                // },

                {

                    "$type" : "MoleMole.RandomOperator",

                    "Target" : "Other",

                    "Odds" : "%ExSkill",

                    "OnSuccess" : 

                    [

                        //EX分支

                        //大范围内冻结

                        {

                            "$type": "MoleMole.FireEffect",

                            "EffectPattern": "Buff_FrozenBurst_01",

                            "Target": "Target",

                            "FireEffectPosRot":

                            {

                                "CoordsOption" : "Self", //target坐标

                                "NeedRaycastGround":false,

                                "TargetOption" :  

                                {

                                    "$type" : "MoleMole.ConfigPosRotReferTarget",

                                    "AttachPoint":"MiddlePoint",

                                    "OffsetReferTarget" : "Self", //获取Target

                                    "IsUseAttachPointPos":true,

                                    "IsUseAttachPointRotation":false

                                },

                                "Offset" : 

                                {

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

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

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

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

                                    "IsUseRotationY" : true,

                                    "IsUseRotationXZ" : false

                                }

                            }

                        },

                        {

                            "$type" : "MoleMole.ApplyModifier",

                            "ModifierName" : "FrozenBuffModifier",

                            "Target" : "Custom",

                            "CustomKey": "Card_Frozen_RangeDMG_Ability_Large_AbilityTargetting"

                        },

                        //大伤害打开

                        {

                            "$type":"MoleMole.DamageByAttackPropertyAction",

                            "Target" : "Custom",

                            "CustomKey": "Card_Frozen_RangeDMG_Ability_Large_AbilityTargetting",

                            "AttackProperty":

                            {

                                "DamagePercentage" : "%AddedDamageRatio",

                                "DamageElement":"Ice"

                            },

                            "AttachPoint":"MiddlePoint"

                        }

                    ],

                    "OnFailure":

                    [

                        //Normal分支

                        //范围内冻结

                        {

                            "$type": "MoleMole.FireEffect",

                            "EffectPattern": "Buff_FrozenBurst",

                            "Target": "Target",

                            "FireEffectPosRot":

                            {

                                "CoordsOption" : "Target", //target坐标

                                "NeedRaycastGround":false,

                                "TargetOption" :  

                                {

                                    "$type" : "MoleMole.ConfigPosRotReferTarget",

                                    "AttachPoint":"MiddlePoint",

                                    "OffsetReferTarget" : "Target", //获取Target

                                    "IsUseAttachPointPos":true,

                                    "IsUseAttachPointRotation":false

                                },

                                "Offset" : 

                                {

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

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

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

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

                                    "IsUseRotationY" : true,

                                    "IsUseRotationXZ" : false

                                }

                            }

                        },

                        {

                            "$type" : "MoleMole.ApplyModifier",

                            "ModifierName" : "FrozenBuffModifier",

                            "Target" : "Custom",

                            "CustomKey": "Card_Frozen_RangeDMG_Ability_Middle_AbilityTargetting"

                        },

                        //大伤害打开

                        {

                            "$type":"MoleMole.DamageByAttackPropertyAction",

                            "Target" : "Custom",

                            "CustomKey": "Card_Frozen_RangeDMG_Ability_Middle_AbilityTargetting",

                            "AttackProperty":

                            {

                                "DamagePercentage" : "%AddedDamageRatio",

                                "DamageElement":"Ice"

                            },

                            "AttachPoint":"MiddlePoint"

                        }

                    ]

                },

                //添加CD管控

                {

                    "$type":"MoleMole.ApplyModifier",

                    "ModifierName":"Interval",

                    "Target":"Self"

                }

            ]

        },

        "Interval":

        {

            "ModifierStacking" : "Unique",

            "Duration": "%TimeOfDuration",

            "IgnoreTimeScale" : false,

            "OnAdded":[

                {

                    "$type" : "MoleMole.RemoveModifier",

                    "ModifierName" : "IceBurst_Modifiers",

                    "Target" : "Self"

                }

            ],

            "OnRemoved":[

                {

                    "$type":"MoleMole.ApplyModifier",

                    "ModifierName":"IceBurst_Modifiers",

                    "Target":"Self"

                }

            ]

        },

        "FrozenBuffModifier": 

        {

            "ModifierStacking" : "Replace",

            "Duration": 1,

            "Buff": 

            {

                "BuffID": 2,//冰冻

                "IsOverrideDuration" : false

            }

        }

    },

	"AbilitySpecials" : 

	{

        "AddedDamageRatio" :

        {

        	"Value" : 1

        },

        "ExSkill":

        {

            "Value":0

        },

        "TimeOfDuration":

        {

            "Value":1

        }

    }

}