Class CardCountValueProvider

All Implemented Interfaces:
Serializable, HasDesc<ValueProviderDesc>

public class CardCountValueProvider extends EntityCountValueProvider
Returns the number of cards in the ValueProviderArg.CARD_SOURCE and ValueProviderArg.CARD_FILTER when specified, or Spellsource.ZonesMessage.Zones.HAND when not specified.

If an ValueProviderArg.ATTRIBUTE is specified, sums the values stored in the attribute or returns the count of cards with that attribute.

See Also: