Examples of SearchLibraryPutInHandEffect


Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        // If you have no land cards in hand, you may reveal your hand rather than pay Land Grant's mana cost.
        this.addAbility(new AlternativeCostSourceAbility(new LandGrantReavealCost(), new LandGrantCondition(),
            "If you have no land cards in hand, you may reveal your hand rather than pay {this}'s mana cost."));

        // Search your library for a Forest card, reveal that card, and put it into your hand. Then shuffle your library.
        this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        this.color.setBlack(true);

        // 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));
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        this.color.setBlack(true);

        // 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));
        // You lose 3 life.
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(3));
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // When Civic Wayfinder enters the battlefield, you may search your library for a basic land card, reveal it, and put it into your hand. If you do, shuffle your library.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(new FilterBasicLandCard()), true, true), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        this.color.setGreen(true);
        this.color.setWhite(true);

        // Search your library for a Forest or Plains card, reveal it, and put it into your hand. Then shuffle your library.
        this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // When Liliana's Shade enters the battlefield, you may search your library for a Swamp card, reveal it, put it into your hand, then shuffle your library.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true, true)));
        // {B}: Liliana's Shade gets +1/+1 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl("{B}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        mode.getEffects().add(new PrimalCommandShuffleGraveyardEffect());
        mode.getTargets().add(new TargetPlayer());
        this.getSpellAbility().getModes().addMode(mode);       
        // or search your library for a creature card, reveal it, put it into your hand, then shuffle your library.
        mode = new Mode();
        mode.getEffects().add(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(new FilterCreatureCard()), true, true));
        this.getSpellAbility().getModes().addMode(mode);
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        super(ownerId, 165, "Horizon Spellbomb", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "SOM";

        // {2}, {tap}, Sacrifice Horizon Spellbomb: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true),
                new ManaCostsImpl("{2}"));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
        // When Horizon Spellbomb is put into a graveyard from the battlefield, you may pay {G}. If you do, draw a card.
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

        this.color.setBlack(true);
        this.power = new MageInt(6 );
        this.toughness = new MageInt( 6);
        this.addAbility(FlyingAbility.getInstance());
        TargetCardInLibrary target = new TargetCardInLibrary();
        Ability ability = new EntersBattlefieldTriggeredAbility(new SearchLibraryPutInHandEffect(target));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.search.SearchLibraryPutInHandEffect

    public SeekTheHorizon(UUID ownerId) {
        super(ownerId, 147, "Seek the Horizon", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{3}{G}");
        this.expansionSetCode = "SOK";
        this.color.setGreen(true);
        // Search your library for up to three basic land cards, reveal them, and put them into your hand. Then shuffle your library.
        this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(0, 3, new FilterBasicLandCard()), true));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.