//判断场上敌人持有指定buff的数量

{

	"AbilityName" : "TestPlayer_Ability_Haoyou_07",

	"AbilityStacking":"UniqueOverrideMap",

    "DefaultModifier":

    {

        "ModifierStacking":"Unique",

        "OnHitOther":

        [

          {

            "$type" : "MoleMole.ApplyModifier",

            "ModifierName" : "Unbreakable",

            "Target" : "Target"

          },

          {

            //受到数值伤害

            "$type" : "MoleMole.FireEffect",

            "EffectPattern" : "Eff_Avatar_LevelUp_01",

            "Target" : "Self",

            "Predicates": [

              {

                "$type": "MoleMole.ByBuffCountAllEnemy",

                "Target": "Self",

                "FilterType": "ByBuffId",

                "BuffID": 122001,

                //"GroupName": "Stun",

                //"BuffType": "Debuff",

                "EnemyType": [ "Normal" ],

                "CompareValue": 1,

                "CompareType": "Greater"

              }

            ]

        }

        ],

        "OnBuffAdded":

        [

			      {

                //受到数值伤害

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_Avatar_LevelUp_01",

                "Target" : "Self"

            }

        ]

    },

    "Modifiers":

    {

        "Unbreakable":

        {

            "Duration": 5,

            "ModifierStacking": "Unique",

            "IgnoreTimeScale" : false,

            "Buff":

            {

                "BuffID" : 122001,

                "IsOverrideDuration" : false

            }

        }

    }

}