Examples of DamageAllEffect


Examples of mage.abilities.effects.common.DamageAllEffect

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

        // {tap}: Scattershot Archer deals 1 damage to each creature with flying.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(1, filter), new TapSourceCost()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

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

        // {4}{G}: Rockcaster Platoon deals 2 damage to each creature with flying and each player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(2, filter), new ManaCostsImpl("{4}{G}"));
        ability.addEffect(new DamagePlayersEffect(2));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "VMA";

        this.color.setGreen(true);

        // Claws of Wirewood deals 3 damage to each creature with flying and each player.
        this.getSpellAbility().addEffect(new DamageAllEffect(3, filter));
        Effect effect = new DamagePlayersEffect(3);
        effect.setText("and each player");
        this.getSpellAbility().addEffect(effect);
        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

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

        // When Tornado Elemental enters the battlefield, it deals 6 damage to each creature with flying.
        Effect effect = new DamageAllEffect(6, filter);
        effect.setText("it deals 6 damage to each creature with flying");
        this.addAbility(new EntersBattlefieldTriggeredAbility(effect));
       
        // You may have Tornado Elemental assign its combat damage as though it weren't blocked.
        this.addAbility(DamageAsThoughNotBlockedAbility.getInstance());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "THS";

        this.color.setRed(true);

        // Anger of the Gods deals 3 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(3, new FilterCreaturePermanent()));
       
        //If a creature dealt damage this way would die this turn, exile it instead.
        this.getSpellAbility().addEffect(new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.color.setRed(true);

        // Rough
        // Rough deals 2 damage to each creature without flying.
        Effect effect = new DamageAllEffect(2, filterWithoutFlying);
        effect.setText("Rough deals 2 damage to each creature without flying");
        getLeftHalfCard().getColor().setRed(true);
        getLeftHalfCard().getSpellAbility().addEffect(effect);

        // Tumble
        // Tumble deals 6 damage to each creature with flying.
        effect = new DamageAllEffect(6, filterFlying);
        effect.setText("Tumble deals 6 damage to each creature with flying");
        getRightHalfCard().getColor().setRed(true);
        getRightHalfCard().getSpellAbility().addEffect(effect);

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        // Devour 1 (As this enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with twice that many +1/+1 counters on it.)
        this.addAbility(new DevourAbility(DevourFactor.Devour1));

        // When Caldera Hellion enters the battlefield, it deals 3 damage to each creature.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DamageAllEffect(3, new FilterCreaturePermanent())));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        // Flash
        this.addAbility(FlashAbility.getInstance());
        // Reach
        this.addAbility(ReachAbility.getInstance());
        // When Cloudthresher enters the battlefield, it deals 2 damage to each creature with flying and each player.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageAllEffect(2, filter));
        ability.addEffect(new DamagePlayersEffect(2));
        this.addAbility(ability);
        // Evoke {2}{G}{G}
        this.addAbility(new EvokeAbility(this, "{2}{G}{G}"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

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

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "APC";
        this.subtype.add("Kavu");
        this.color.setRed(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(2, new FilterCreaturePermanent()), new ColoredManaCost(ColoredManaSymbol.R));
        ability.addCost(new SacrificeSourceCost());
        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.