Package mage.abilities.decorator

Examples of mage.abilities.decorator.ConditionalGainActivatedAbility.addCost()


        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new BoostTargetEffect(+3,+3, Duration.EndOfTurn),
            new ManaCostsImpl("{G}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {G}, {T}, Sacrifice {this}: Target creature gets +3/+3 until end of turn. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(thresholdAbility);
    }
View Full Code Here


            new BoostTargetEffect(+3,+3, Duration.EndOfTurn),
            new ManaCostsImpl("{G}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {G}, {T}, Sacrifice {this}: Target creature gets +3/+3 until end of turn. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(thresholdAbility);
    }

    public CentaurGarden(final CentaurGarden card) {
View Full Code Here

        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new DamageTargetEffect(2),
            new ManaCostsImpl("{R}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {R}, {T}, Sacrifice {this}: {this} deals 2 damage to target creature or player. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(thresholdAbility);
    }
View Full Code Here

            new DamageTargetEffect(2),
            new ManaCostsImpl("{R}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {R}, {T}, Sacrifice {this}: {this} deals 2 damage to target creature or player. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(thresholdAbility);
    }

    public BarbarianRing(final BarbarianRing card) {
View Full Code Here

        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new DamageTargetEffect(2),
            new ManaCostsImpl("2}{R}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {2}{R}, {t}: {this} deals 2 damage to target creature or player. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(thresholdAbility);
    }

    public Chainflinger(final Chainflinger card) {
View Full Code Here

        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new BoostTargetEffect(-2,-2, Duration.EndOfTurn),
            new ManaCostsImpl("{B}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {B}, {T}, Sacrifice {this}: Target creature gets -2/-2 until end of turn. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(thresholdAbility);
    }
View Full Code Here

            new BoostTargetEffect(-2,-2, Duration.EndOfTurn),
            new ManaCostsImpl("{B}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {B}, {T}, Sacrifice {this}: Target creature gets -2/-2 until end of turn. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(thresholdAbility);
    }

    public CabalPit(final CabalPit card) {
View Full Code Here

            new DrawCardTargetEffect(3),
            new ManaCostsImpl("{U}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {U}, {T}, Sacrifice {this}: Target player draws three cards, then discards three cards. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addEffect(new DiscardTargetEffect(3));
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetPlayer());
        this.addAbility(thresholdAbility);
    }
View Full Code Here

            new ManaCostsImpl("{U}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {U}, {T}, Sacrifice {this}: Target player draws three cards, then discards three cards. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addEffect(new DiscardTargetEffect(3));
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        thresholdAbility.addTarget(new TargetPlayer());
        this.addAbility(thresholdAbility);
    }

    public CephalidColiseum(final CephalidColiseum card) {
View Full Code Here

        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new GainLifeEffect(4),
            new ManaCostsImpl("{W}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {W}, {T}, Sacrifice {this}: You gain 4 life. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addCost(new TapSourceCost());
        thresholdAbility.addCost(new SacrificeSourceCost());
        this.addAbility(thresholdAbility);
    }

    public NomadStadium(final NomadStadium card) {
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.