Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect


        this.color.setBlue(true);
        this.color.setBlack(true);

        // Target player puts the top two cards of his or her library into his or her graveyard. Draw two cards.
        this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(2));
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2));
        this.getSpellAbility().addTarget(new TargetPlayer());
       
    }
View Full Code Here


}

class ShriekgeistTriggeredAbility extends TriggeredAbilityImpl {

    public ShriekgeistTriggeredAbility() {
        super(Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(2));
    }
View Full Code Here

    public CodexShredder(UUID ownerId) {
        super(ownerId, 228, "Codex Shredder", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "RTR";

        // {T}: Target player puts the top card of his or her library into his or her graveyard.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
       
        // {5}, {T}, Sacrifice Codex Shredder: Return target card from your graveyard to your hand.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new ManaCostsImpl("{5}"));
View Full Code Here

    public JacesErasure(UUID ownerId) {
        super(ownerId, 59, "Jace's Erasure", Rarity.COMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{U}");
        this.expansionSetCode = "M11";
        this.color.setBlue(true);

        DrawCardControllerTriggeredAbility ability = new DrawCardControllerTriggeredAbility(new PutLibraryIntoGraveTargetEffect(1), true);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setBlue(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);

        // When Geralf's Mindcrusher enters the battlefield, target player puts the top five cards of his or her library into his or her graveyard.
        Ability ability = new EntersBattlefieldTriggeredAbility(new PutLibraryIntoGraveTargetEffect(5));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
        // Undying
        this.addAbility(new UndyingAbility());
    }
View Full Code Here

    }

    class CrosstownCourierTriggeredAbility extends TriggeredAbilityImpl {

        public CrosstownCourierTriggeredAbility() {
            super(Zone.BATTLEFIELD, new PutLibraryIntoGraveTargetEffect(0), false);
        }
View Full Code Here

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new ZombieWizardToken()), new ManaCostsImpl("{U}{B}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeTargetEffect(new PermanentsOnBattlefieldCount(filter)), new ManaCostsImpl("{U}{U}{B}{B}"));
        ability.addEffect(new PutLibraryIntoGraveTargetEffect(new PermanentsOnBattlefieldCount(filter, 1)));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

    public TomeScour(UUID ownerId) {
        super(ownerId, 76, "Tome Scour", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{U}");
        this.expansionSetCode = "M10";
        this.color.setBlue(true);
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(5));
    }
View Full Code Here

        this.color.setBlue(true);

        // Target player puts the top three cards of his or her library into his or her graveyard.
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new PutLibraryIntoGraveTargetEffect(3));
        // Storm
        this.addAbility(new StormAbility());
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect

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.