Examples of PutOnLibraryTargetEffect


Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        super(ownerId, 13, "Condemn", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{W}");
        this.expansionSetCode = "10E";
        this.color.setWhite(true);
        // Put target attacking creature on the bottom of its owner's library.
        this.getSpellAbility().addTarget(new TargetAttackingCreature());
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(false));
        // Its controller gains life equal to its toughness.
        this.getSpellAbility().addEffect(new CondemnEffect());

    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.expansionSetCode = "AVR";

        this.color.setWhite(true);

        // Put target artifact, creature, or enchantment on the bottom of its owner's library.
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(false));
        this.getSpellAbility().addTarget(new TargetPermanent(filter));

        // Miracle {W}
        this.addAbility(new MiracleAbility(this, new ManaCostsImpl("{W}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.expansionSetCode = "AVR";

        this.color.setBlue(true);

        // Put target nonland permanent on top of its owner's library.
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());

        // Miracle {U}
        this.addAbility(new MiracleAbility(this, new ManaCostsImpl("{U}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        this.expansionSetCode = "ISD";

        this.color.setBlue(true);

        // Put target creature on top of its owner's library.
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());

        // Flashback {7}{U}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{7}{U}"), TimingRule.SORCERY));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());

        // {1}{B}, {tap}: Put target creature card from your graveyard on top of your library.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(true), new ManaCostsImpl("{1}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCardInYourGraveyard(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

    public ConjurersBauble(UUID ownerId) {
        super(ownerId, 112, "Conjurer's Bauble", Rarity.COMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
        this.expansionSetCode = "5DN";
       
        // {tap}, Sacrifice Conjurer's Bauble: Put up to one target card from your graveyard on the bottom of your library. Draw a card.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(false, rule), new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetCardInYourGraveyard(0, 1, filter));
        ability.addEffect(new DrawCardSourceControllerEffect(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        // Target player gains 7 life;
        this.getSpellAbility().addEffect(new GainLifeTargetEffect(7));
        this.getSpellAbility().addTarget(new TargetPlayer());
        // or put target noncreature permanent on top of its owner's library;
        Mode mode = new Mode();
        mode.getEffects().add(new PutOnLibraryTargetEffect(true));
        Target target = new TargetPermanent(filterNonCreature);
        mode.getTargets().add(target);
        this.getSpellAbility().getModes().addMode(mode);
        // or target player shuffles his or her graveyard into his or her library;
        mode = new Mode();
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

        // Choose one - Destroy target artifact;
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetArtifactPermanent());
        // or put target creature on the bottom of its owner's library;
        Mode mode = new Mode();
        mode.getEffects().add(new PutOnLibraryTargetEffect(false));
        mode.getTargets().add(new TargetCreaturePermanent());
        this.getSpellAbility().addMode(mode);
        // or counter target instant spell.
        mode = new Mode();
        mode.getEffects().add(new CounterTargetEffect());
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

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

        // {1}{U}, {tap}: Put target green creature on top of its owner's library.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(true), new ManaCostsImpl("{1}{U}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.PutOnLibraryTargetEffect

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

        // {tap}: Put target creature card from your graveyard on top of your library. Activate this ability only during your turn, before attackers are declared.
        Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new PutOnLibraryTargetEffect(true), new TapSourceCost(), MyTurnBeforeAttackersDeclaredCondition.getInstance());
        ability.addTarget(new TargetCardInYourGraveyard(new FilterCreatureCard("creature card from your graveyard")));
        this.addAbility(ability);
    }
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.