public SearchLibraryPutInHandOrOnBattlefieldEffect(TargetCardInLibrary target, boolean revealCards, boolean forceShuffle, String rulePrefix, String nameToPutOnBattlefield) { super(target, Outcome.DrawCard); this.revealCards = revealCards; this.forceShuffle = forceShuffle; this.rulePrefix = rulePrefix; this.nameToPutOnBattlefield = nameToPutOnBattlefield; setText(); }
public SearchLibraryPutInHandEffect(TargetCardInLibrary target, boolean revealCards, boolean forceShuffle, String rulePrefix) { super(target, Outcome.DrawCard); this.revealCards = revealCards; this.forceShuffle = forceShuffle; this.rulePrefix = rulePrefix; setText(); }
@Override public String getText(Mode mode) { return "Name a nonland card. " + super.getText(mode); } }
public VerdantCrescendo(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}"); // Search your library for a basic land card and put it onto the battlefield tapped. this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(StaticFilters.FILTER_CARD_BASIC_LAND), true, false)); // Search your library and graveyard for a card named Nissa, Nature's Artisan, reveal it, and put it into your hand. Then shuffle your library. this.getSpellAbility().addEffect(new SearchLibraryGraveyardPutInHandEffect(filter, true)); }
@Override public SearchLibraryPutInPlayEffect copy() { return new SearchLibraryPutInPlayEffect(this); }
@Override public SearchLibraryPutInHandEffect copy() { return new SearchLibraryPutInHandEffect(this); }
public SearchLibraryPutInPlayEffect(TargetCardInLibrary target, boolean tapped, boolean forceShuffle, Outcome outcome) { super(target, outcome); this.tapped = tapped; this.forceShuffle = forceShuffle; setText(); }
@Override public SearchLibraryPutInPlayTargetPlayerEffect copy() { return new SearchLibraryPutInPlayTargetPlayerEffect(this); }
@Override public SearchLibraryWithLessCMCPutInPlayEffect copy() { return new SearchLibraryWithLessCMCPutInPlayEffect(this); }
@Override public SearchLibraryGraveyardPutInHandEffect copy() { return new SearchLibraryGraveyardPutInHandEffect(this); }
@Override public SearchLibraryPutOnLibraryEffect copy() { return new SearchLibraryPutOnLibraryEffect(this); }
@Override public SearchLibraryPutInHandOrOnBattlefieldEffect copy() { return new SearchLibraryPutInHandOrOnBattlefieldEffect(this); }
public SearchLibraryPutOnLibraryEffect(TargetCardInLibrary target, boolean reveal, boolean forceShuffle) { super(target, Outcome.DrawCard); this.reveal = reveal; this.forceShuffle = forceShuffle; setText(); }
public SearchLibraryPutInPlayTargetPlayerEffect(TargetCardInLibrary target, boolean tapped, boolean forceShuffle, Outcome outcome, boolean ownerIsController) { super(target, outcome); this.tapped = tapped; this.forceShuffle = forceShuffle; this.ownerIsController = ownerIsController; setText(); }
@Override public String getText(Mode mode) { return "Name a creature card. " + super.getText(mode); }
public CircuitousRoute(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}"); // Search your library for up to two basic lands and/or Gates and put them onto the battlefield tapped. this.getSpellAbility().addEffect(new SearchLibraryPutInPlayEffect( new TargetCardInLibrary(0, 2, filter), true )); }
public DemonicTutor(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{1}{B}"); // Search your library for a card and put that card into your hand. Then shuffle your library. TargetCardInLibrary target = new TargetCardInLibrary(); this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(target)); }
public SearchLibraryPutOnLibraryEffect(TargetCardInLibrary target) { this(target, false, true); setText(); }
@Override public String getText(Mode mode) { StringBuilder sb = new StringBuilder(); sb.append("Exile target enchantment. If the exiled card is a God card, "); sb.append(super.getText(mode)); return sb.toString(); }
public LostAuramancersAbility() { super(new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(new FilterEnchantmentCard()))); }