{

    //战斗中每次使敌人进入【感电】，雷电伤害提升10%,最高100%



    "AbilityName":"Card_Electro_1000506",

    "AbilityStacking":"Unique",

    "DefaultModifier" :

    {

        //因为要对Buff进行Predicate，所以必须在Pre中调用

        "OnBuffAddToOther":

        [

            {

                "$type": "MoleMole.SetAbilitySpecialAction",

                "ParamName": "CurDMG",

                "ParamType": "abilitySpecial_float",

                "ModifyFunction": "Add",

                "Param": "AddedDamage",

                "DoRefresh":true,

                "Predicates" : [

                    {

                        "$type" : "MoleMole.ByAbilitySpecial",

                        "Target" : "Self",

                        "ParamName": "CurDMG",

                        "ParamType": "abilitySpecial_float",

                        "CompareType": "Less",

                        "Param" : "MaxAddedDamage"

                    },

                    {

                        "$type" : "MoleMole.ByBuffGroup",

                        "BuffGroupList" : ["Electric"],

                        "Target" : "Target"

                    }

                ]

            }

        ],

        "OnHitOther" :

        [

            {

                "$type": "MoleMole.ModifyAttackDataAction",

                "Target" : "Self",

                "PropertyKey": "Actor_AddedDamageRatio", 

                "PropertyValue": "%CurDMG",

                "Predicates" : 

                [

                    {

                        "$type":"MoleMole.ByDamageElementType",

                        "Target":"Self",

                        "DamageElement":"Elec"

                    }

                ]

            }

        ]

    },

    "AbilitySpecials" : 

    {

        //表格参数

        "CurDMG" :

        {

            "Value" : 0

        },

        "AddedDamage" :

        {

            "Value" : 0.1

        },

        "MaxAddedDamage":

        {

            "Value" : 1

        }

    }

}