Filters include/exclude targets from a list of entities generated by an entity reference or a card source.
Class Summary Class Description AmalgamRaceFilter AndFilterEvaluates to
targetif all of the filters in
EntityFilterArg.FILTERSalso evaluate to true for the target.
AttributeFilter CardAuraCardFilterA filter that matches an entity if the base card ID is matched by the
CardFilterFilters entities based on various properties of their source cards. CollectibleFilterFilter entities based on whether their source card is collectible or not CopiesHaveBeenPlayedFilterReturns entities that have been played by
DamagedFilter DeckContainsFilter EntityEqualsFilterMatches an entity if the entity is in the list of entities returned by resolving the
Entityobjects using its
EntityFilter.test(GameContext, Player, Entity, Entity)implementation.
EntityFilterDesc EntityTypeFilter EvenCostFilterOnly returns entities that have an even base cost. HandContainsFilter HasAttackedFilterFilters for actors that have attacked this turn. HasAttackedLastTurnFilter HasEffectsFilterMatches an entity if it has an aura, battlecry, card cost modifier, deathrattle, any kind of trigger or is a spell. HasEnchantmentFilter HasTextFilter HasTurnEffectsFilterFilters minions based on whether they have Start-of-turn/End-of-turn effects or not. HealedFilter HighestAttributeFilterComputes the highest value of the attribute in the specified list of
targetentities and returns all with that highest value.
IsDestroyedFilter ManaCostFilter NullFilter OddCostFilterOnly returns entities that have a base odd-cost. OrFilter OwnedByPlayerFilter RaceEqualsFilter RaceFilter SameHeroClassFilter SecretsContainsFilter SpecificCardFilter SpellFilter StorageContainsFilter SummonedByPlayerFilterMatches a minion if it was summoned by a entity whose owner was