Package net.demilich.metastone.game.spells.desc.source
package net.demilich.metastone.game.spells.desc.source
Card sources generate lists of cards.
- See Also:
-
ClassDescriptionReturns the base cards of the aftermaths triggered by the
CardSourceArg.TARGET_PLAYER
.Returns a list of collectible cards from theDeckFormat
for this game (fromGameContext.getDeckFormat()
) where class cards of the casting player's class appear 4x more than neutrals, and no other class cards appear.Combines multiple card sources together and includes cards from all of them.Returns the list of cards from the deck in the user's collection namedCardSourceArg.COLLECTION_NAME
.Returns cards from the player's deck.Returns a list of cards in the specifiedCardSourceArg.FORMAT
.Returns the source cards of the actors in the graveyard, including the minions, weapons and heroes.Returns a list of cards in the player's graveyard, including minion's cards.Returns a list of cards that are in the player's graveyard.Returns a copy of the source cards of minions thatEntity.diedOnBattlefield()
belonging to the castingplayer
.Returns a list of cards in the hand.Indicates that this object creates cards as a side effect of its methods.Returns the list of source cards for the minions on the battlefield of theCardSourceArg.TARGET_PLAYER
.Returns a list ofSecret
cards from the controller's hero class or theCardSourceArg.HERO_CLASS
if this controller ordinarily does not have secrets.Returns a snapshot of all the cards that the specifiedCardSourceArg.TARGET_PLAYER
has shuffled into their deck.Retrieves a snapshot of the cards stored in thesource
Entity
orCardSourceArg.SOURCE
EntityReference
by aStoreEntitySpell
.Returns the list of source cards for the minions on the battlefield of theCardSourceArg.TARGET_PLAYER
.Returns the top N cards of the deck, where N is defined by theCardSourceArg.VALUE
argReturns the top three cards of the deck.Returns all cards, including uncollectible ones, in the game context'sDeckFormat
.This weighted card source returns legendaries and epics more frequently than normal and only cards from theCardSet.JOURNEY_TO_UNGORO
set.Returns a list of collectible cards from theDeckFormat
for this game (fromGameContext.getDeckFormat()
) of equal probability for all classes and neutrals.