Examples of CardsInControllerGraveCondition


Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        this.addAbility(ability);
        // Threshold - {tap}: Prevent the next 4 damage that would be dealt to target creature or player this turn. Activate this ability only if seven or more cards are in your graveyard.
        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
                                                                        new PreventDamageToTargetEffect(Duration.EndOfTurn,4),
                                                                        new TapSourceCost(),
                                                                        new CardsInControllerGraveCondition(7),
                                                                        "<i>Threshold</i> - {T}: Prevent the next 4 damage that would be dealt to target creature or player this turn. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(thresholdAbility);
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        this.addAbility(ability);
       
        // Threshold - As long as seven or more cards are in your graveyard, Decaying Soil has "Whenever a nontoken creature is put into your graveyard from the battlefield, you may pay {1}. If you do, return that card to your hand."
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                                                new ConditionalContinousEffect(new GainAbilitySourceEffect(new DecayingSoilTriggeredAbility(new DecayingSoilEffect(), filter)),
                                                new CardsInControllerGraveCondition(7),
                                                "<i>Threshold</i> - As long as seven or more cards are in your graveyard, {this} has \"Whenever a nontoken creature is put into your graveyard from the battlefield, you may pay {1}. If you do, return that card to your hand")));
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        // Destroy all creatures. They can't be regenerated.
        // Threshold - If seven or more cards are in your graveyard, instead destroy all creatures, then put two 1/1 white Spirit creature tokens with flying onto the battlefield. Creatures destroyed this way can't be regenerated.
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new KirtarsWrathEffect(),
                new DestroyAllEffect(new FilterCreaturePermanent("all creatures"), true),
                new CardsInControllerGraveCondition(7),
                "Destroy all creatures. They can't be regenerated.<br/><br/><i>Threshold<i/> - If seven or more cards are in your graveyard, instead destroy all creatures, then put two 1/1 white Spirit creature tokens with flying onto the battlefield. Creatures destroyed this way can't be regenerated"));

    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        // Threshold - {W}{W}, {tap}: Tap two target creatures. Activate this ability only if seven or more cards are in your graveyard.
        Ability thresholdAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ManaCostsImpl("{W}{W}"));
        thresholdAbility.addTarget(new TargetCreaturePermanent(2));
        thresholdAbility.addCost(new TapSourceCost());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(new GainAbilitySourceEffect(thresholdAbility),
                                                                                                 new CardsInControllerGraveCondition(7),
                                                                                                 "<i>Threshold</i> - {W}{W}, {tap}: Tap two target creatures. Activate this ability only if seven or more cards are in your graveyard.")));
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        ability.addCost(new DiscardCardCost());
        // Threshold - As long as seven or more cards are in your graveyard, Dirty Wererat gets +2/+2 and can't block.
        Ability thresholdAbility = new SimpleStaticAbility(Zone.BATTLEFIELD,
                    new ConditionalContinousEffect(
                    new BoostSourceEffect(2, 2, Duration.WhileOnBattlefield),
                    new CardsInControllerGraveCondition(7),
                    "<i>Threshold</i> - If seven or more cards are in your graveyard, Dirty Wererat gets +2/+2 and can't block"
                ));
        Effect effect = new ConditionalRestrictionEffect(
                    new CantBlockSourceEffect(Duration.WhileOnBattlefield),
                    new CardsInControllerGraveCondition(7));
        effect.setText("and can't block");
        thresholdAbility.addEffect(effect);
        this.addAbility(thresholdAbility);
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        // Threshold - {B}, {T}, Sacrifice Cabal Pit: Target creature gets -2/-2 until end of turn. Activate this ability only if seven or more cards are in your graveyard.
        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

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        this.power = new MageInt(2);
        this.toughness = new MageInt(4);

        // Threshold - As long as seven or more cards are in your graveyard, Mystic Zealot gets +1/+1 and has flying.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(
                                                                    new BoostSourceEffect(1, 1, Duration.WhileOnBattlefield), new CardsInControllerGraveCondition(7), "<i>Threshold</i> - As long as seven or more cards are in your graveyard, {this} gets +1/+1"));
        ability.addEffect(new ConditionalContinousEffect(new GainAbilitySourceEffect(FlyingAbility.getInstance()), new CardsInControllerGraveCondition(7), "and has flying"));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        // Thermal Blast deals 3 damage to target creature.
        // Threshold - Thermal Blast deals 5 damage to that creature instead if seven or more cards are in your graveyard.
        Effect effect = new ConditionalOneShotEffect(new DamageTargetEffect(5),
                                                     new DamageTargetEffect(3),
                                                     new CardsInControllerGraveCondition(7),
                                                     "{this} deals 3 damage to target creature.<br/><br/><i>Threshold</i> - {this} deals 5 damage to that creature instead if seven or more cards are in your graveyard.");
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

        // Threshold - Krosan Beast gets +7/+7 as long as seven or more cards are in your graveyard.
        Ability thresholdAbility = new SimpleStaticAbility(
                Zone.BATTLEFIELD,
                new ConditionalContinousEffect(
                    new BoostSourceEffect(7, 7, Duration.WhileOnBattlefield),
                    new CardsInControllerGraveCondition(7),
                    "<i>Threshold</i> - {this} gets +7/+7 as long as seven or more cards are in your graveyard"
                ));
        this.addAbility(thresholdAbility);
    }
View Full Code Here

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition

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

        // Threshold - {1}{B}, {tap}, Exile two cards from your graveyard: Target player discards a card. Activate this ability only any time you could cast a sorcery, and only if seven or more cards are in your graveyard.
        Ability ability = new ActivateAsSorceryConditionalActivatedAbility(Zone.BATTLEFIELD, new DiscardTargetEffect(1), new ManaCostsImpl("{1}{B}"), new CardsInControllerGraveCondition(7), "<br/><br/><i>Threshold</i> - {1}{B}, {tap}, Exile two cards from your graveyard: Target player discards a card. Activate this ability only any time you could cast a sorcery, and only if seven or more cards are in your graveyard.");
        ability.addTarget(new TargetPlayer());
        ability.addCost(new TapSourceCost());
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard(2, new FilterCard("cards 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.