//判断敌人数量

{

	"AbilityName" : "TestPlayer_Ability_Haoyou_04",

	"AbilityStacking":"UniqueOverrideMap",

    "DefaultModifier":

    {

        "ModifierStacking":"Unique",

        "OnHitOther":

        [

			{

                //2个以上非boss

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_Avatar_LevelUp_01",

                "Target" : "Self",

                "Predicates": [

                  {

                    "$type": "MoleMole.ByEnemyCount",

                    "FilterType": "ByStrengthType",

                    "EnemyStrengthType": [ "Normal", "Elite" ],

                    //"EnemyName": [ "Monster_RangeSoldier_Elite", "Monster_RangeSoldier" ],

                    "CompareValue": 2,

                    "CompareType": "Greater"

                  }

                ]

            },

            {

                //一个非boss

                "$type" : "MoleMole.FireEffect",

                "EffectPattern" : "Eff_Avatar_LevelUp_02",

                "Target" : "Self",

                "Predicates": [

                  {

                    "$type": "MoleMole.ByEnemyCount",

                    "FilterType": "ByStrengthType",

                    "EnemyStrengthType": [ "Normal", "Elite" ],

                    //"EnemyName": [ "Monster_RangeSoldier_Elite", "Monster_RangeSoldier" ],

                    "CompareValue": 2,

                    "CompareType": "Less"

                  }

                ]

            }

        ]

    }

}