Examples of DamageAllEffect


Examples of mage.abilities.effects.common.DamageAllEffect

        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // Kinship - At the beginning of your upkeep, you may look at the top card of your library. If it shares a creature type with Pyroclast Consul, you may reveal it.
        // If you do, Pyroclast Consul deals 2 damage to each creature.       
        this.addAbility(new KinshipAbility(new DamageAllEffect(2, new FilterCreaturePermanent())));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

    public NeedleStorm(UUID ownerId) {
        super(ownerId, 135, "Needle Storm", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{G}");
        this.expansionSetCode = "TMP";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(4, filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.subtype.add("Goblin");
        this.subtype.add("Shaman");
        this.color.setRed(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(1, filterTargetedCreatures), new SacrificeTargetCost(new TargetControlledPermanent(filterSacrificed))));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        super(ownerId, 15, "Marrow Shards", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{WP}");
        this.expansionSetCode = "NPH";

        this.color.setWhite(true);

        this.getSpellAbility().addEffect(new DamageAllEffect(1, new FilterAttackingCreature()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

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

        // {2}, Reveal X red cards from your hand, Sacrifice Martyr of Ashes: Martyr of Ashes deals X damage to each creature without flying.
        Effect effect = new DamageAllEffect(new RevealTargetFromHandCostCount(), filterCreature);
        effect.setText("Martyr of Ashes deals X damage to each creature without flying.");
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new GenericManaCost(2));
        ability.addCost(new RevealTargetFromHandCost(new TargetCardInHand(0, Integer.MAX_VALUE, filterHand)));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "NPH";

        this.color.setRed(true);

        // Whipflare deals 2 damage to each nonartifact creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(2, filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        super(ownerId, 107, "Corrosive Gale", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{X}{GP}");
        this.expansionSetCode = "NPH";


        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(new ManacostVariableValue(), filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.color.setRed(true);
        this.color.setGreen(true);

        // Firespout deals 3 damage to each creature without flying if {R} was spent to cast Firespout and 3 damage to each creature with flying if {G} was spent to cast it.
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new DamageAllEffect(3, filter1),
                new ManaWasSpentCondition(ColoredManaSymbol.R), "{this} deals 3 damage to each creature without flying if {R} was spent to cast {this}"));
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new DamageAllEffect(3, filter2),
                new ManaWasSpentCondition(ColoredManaSymbol.G), " And 3 damage to each creature with flying if {G} was spent to cast it"));
        this.addInfo("Info1", "<i>(Do both if {R}{G} was spent.)</i>");
        this.addWatcher(new ManaSpentToCastWatcher());

View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

    public Pyroclasm(UUID ownerId) {
        super(ownerId, 222, "Pyroclasm", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{1}{R}");
        this.expansionSetCode = "10E";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(2, new FilterCreaturePermanent()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "ONS";

        this.color.setRed(true);

        // Starstorm deals X damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(new ManacostVariableValue(), new FilterCreaturePermanent()));
        // Cycling {3}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{3}")));
    }
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.