Package mage.abilities.effects.common.search

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


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

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


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

        // When Elvish Harbinger enters the battlefield, you may search your library for an Elf card, reveal it, then shuffle your library and put that card on top of it.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(filter), true, true), true));
        // {tap}: Add one mana of any color to your mana pool.
        this.addAbility(new AnyColorManaAbility(new TapSourceCost()));
    }
View Full Code Here

        this.toughness = new MageInt(1);

        // When Boggart Harbinger enters the battlefield, you may search your library for a Goblin 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

        LoyaltyAbility ability1 = new LoyaltyAbility(new DiscardTargetEffect(1), 1);
        ability1.addTarget(new TargetPlayer());
        this.addAbility(ability1);

        // -2: Search your library for a card, then shuffle your library and put that card on top of it.
        this.addAbility(new LoyaltyAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), -2));

        // -8: Put all creature cards from all graveyards onto the battlefield under your control.
        this.addAbility(new LoyaltyAbility(new LilianaVessEffect(), -8));

    }
View Full Code Here

        this.expansionSetCode = "MIR";

        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.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Whenever you cast a green creature spell, you may search your library for a creature card and reveal it. If you do, shuffle your library and put that card on top of it.
        Effect effect = new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(new FilterCreatureCard()), true, true);
        effect.setText("you may search your library for a creature card and reveal it. If you do, shuffle your library and put that card on top of it");
        this.addAbility(new SpellCastControllerTriggeredAbility(effect, filter, true));

        // Whenever you cast a blue creature spell, reveal the top card of your library. If it's a creature card, put that card into your hand.
        Effect effect2 = new RevealLibraryPutIntoHandEffect(1, new FilterCreatureCard(), false);
        effect2.setText("reveal the top card of your library. If it's a creature card, put that card into your hand");
View Full Code Here

        this.expansionSetCode = "MIR";

        this.color.setWhite(true);

        // Search your library for an artifact or enchantment 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

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.