Examples of DamageEverythingEffect


Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.color.setRed(true);

        // Volcanic Fallout can't be countered.
        this.addAbility(new CantCounterAbility());
        // Volcanic Fallout deals 2 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

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

        // When Magma Giant enters the battlefield, it deals 2 damage to each creature and each player.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DamageEverythingEffect(2)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        ability.addEffect(new CantRegenerateEffect());
        this.addAbility(ability);
        this.addWatcher(new DamagedByWatcher());               
       
        // {5}{R}{R}, {tap}, Discard a card: Jaya Ballard deals 6 damage to each creature and each player.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageEverythingEffect(6), new ManaCostsImpl("{5}{R}{R}"));
        ability.addCost(new TapSourceCost());
        ability.addCost(new DiscardCardCost());       
        this.addAbility(ability);
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

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

        // {2}{B}: Infected Vermin deals 1 damage to each creature and each player.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageEverythingEffect(1), new ManaCostsImpl("{2}{B}")));
        // Threshold - {3}{B}: Infected Vermin deals 3 damage to each creature and each player. Activate this ability only if seven or more cards are in your graveyard.
        this.addAbility(new ConditionalActivatedAbility(Zone.BATTLEFIELD,
                new DamageEverythingEffect(3),
                new ManaCostsImpl("{3}{B}"),
                new CardsInControllerGraveCondition(7),
                "<i>Threshold</i> - {3}{B}: Infected Vermin deals 3 damage to each creature and each player. Activate this ability only if seven or more cards are in your graveyard."));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "RAV";

        this.color.setRed(true);

        // Rain of Embers deals 1 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "C13";

        this.color.setBlack(true);

        // Famine deals 3 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(3));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "APC";
        this.subtype.add("Giant");
        this.color.setRed(true);
        this.power = new MageInt(6);
        this.toughness = new MageInt(6);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageEverythingEffect(6), new ColoredManaCost(ColoredManaSymbol.R));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

            info.activations++;
            if (info.activations == 3) {
                int damage = sourcePermanent.getCounters().getCount(CounterType.P1P1);
                if (damage > 0) {
                    sourcePermanent.removeCounters(CounterType.P1P1.getName(), damage, game);
                    return new DamageEverythingEffect(damage, new FilterCreaturePermanent()).apply(game, source);
                }
            }
            return true;
        }
        return false;
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "ODY";

        this.color.setBlack(true);

        // {1}{B}, Exile a card from your graveyard: Screams of the Damned deals 1 damage to each creature and each player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageEverythingEffect(1), new ManaCostsImpl("{1}{B}"));
        ability.addCost(new ExileFromGraveCost(new TargetCardInYourGraveyard()));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        // At the beginning of the end step, if no creatures are on the battlefield, sacrifice Pestilence.
        TriggeredAbility triggered = new OnEventTriggeredAbility(GameEvent.EventType.END_TURN_STEP_PRE, "beginning of the end step", true, new SacrificeSourceEffect());
        this.addAbility(new ConditionalTriggeredAbility(triggered, new NoCreatureCondition(), ruleText));

        // {B}: Pestilence deals 1 damage to each creature and each player.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageEverythingEffect(1), new ManaCostsImpl("{B}")));
    }
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.