Package mage.abilities.effects.common.search

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


        this.expansionSetCode = "PTK";

        this.color.setBlack(true);

        // Search your library for a card, then shuffle your library and put that card on top of it. You lose 2 life.
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here


        this.expansionSetCode = "POR";

        this.color.setGreen(true);

        // Search your library for a creature card and reveal that card. Shuffle your library, then put the card on top of it.
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(new FilterCreatureCard()), true, true));
    }
View Full Code Here

        this.color.setBlack(true);

        // Search your library for a card, then shuffle your library and put that card on top of it. You lose 2 life.
        TargetCardInLibrary target = new TargetCardInLibrary();
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(target, false, true));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

        this.expansionSetCode = "POR";

        this.color.setBlue(true);

        // Search your library for a sorcery card and reveal that card. Shuffle your library, then put the card on top of it.
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter), true, true));
    }
View Full Code Here

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

        // When Mwonvuli Beast Tracker enters the battlefield, search your library for a creature card with deathtouch, hexproof, reach, or trample and reveal it. Shuffle your library and put that card on top of it.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter), true, true)));
    }
View Full Code Here

        // Other enchantments you control have shroud.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(ShroudAbility.getInstance(), Duration.WhileOnBattlefield, filterPermanent, true)));
       
        // {1}, Sacrifice Sterling Grove: Search your library for an enchantment card and reveal that card. Shuffle your library, then put the card on top of it.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filterCard), true, true), new GenericManaCost(1));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        // You may pay {W}{U}{B}{R}{G} rather than pay Bringer of the Black Dawn's mana cost.
        this.addAbility(new AlternativeCostSourceAbility(new ManaCostsImpl("{W}{U}{B}{R}{G}")));
        // Trample
        this.addAbility(TrampleAbility.getInstance());
        // At the beginning of your upkeep, you may pay 2 life. If you do, search your library for a card, then shuffle your library and put that card on top of it.
        Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DoIfCostPaid(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), new PayLifeCost(2)), TargetController.YOU, false);
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "MIR";

        this.color.setBlue(true);

        // Search your library for an instant or sorcery card and reveal that card. Shuffle your library, then put the card on top of it.
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter), true, true));
    }
View Full Code Here

        this.expansionSetCode = "VIS";

        this.color.setBlack(true);

        // Search your library for a card, then shuffle your library and put that card on top of it. You lose 2 life.
        this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(), false, true));
        this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
    }
View Full Code Here

        this.toughness = new MageInt(1);

        // When Flamekin Harbinger enters the battlefield, you may search your library for an Elemental card,
        // reveal it, then shuffle your library and put that card on top of it.
        TargetCardInLibrary target = new TargetCardInLibrary(filter);
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(target, true, true)));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.search.SearchLibraryPutOnLibraryEffect

Copyright © 2018 www.massapicom. 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.