Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DamageAllEffect


        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Whenever Oros, the Avenger deals combat damage to a player, you may pay {2}{W}. If you do, Oros deals 3 damage to each nonwhite creature.
        this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(
                new DoIfCostPaid(new DamageAllEffect(3, filter), new ManaCostsImpl("{2}{W}")), false));       
    }
View Full Code Here


        this.color.setRed(true);

        //Each player sacrifices four lands.
        this.getSpellAbility().addEffect(new SacrificeAllEffect(4, filter));
        //Wildfire deals 4 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(4, new FilterCreaturePermanent()));
    }
View Full Code Here

        this.color.setRed(true);

        // Each player sacrifices five lands.
        this.getSpellAbility().addEffect(new SacrificeAllEffect(5, filterLand));
        // Destructive Force deals 5 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(5, filterCreature));
    }
View Full Code Here

        // Destroy target land.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetLandPermanent());
        // Scorch the Fields deals 1 damage to each Human creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
    }
View Full Code Here

        this.expansionSetCode = "C13";

        // Flash
        this.addAbility(FlashAbility.getInstance());
        // {2}, Sacrifice Leonin Bladetrap: Leonin Bladetrap deals 2 damage to each attacking creature without flying.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(2, filter), new GenericManaCost(2));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(ability);

    }
View Full Code Here

        this.toughness = new MageInt(5);

        // Reach
        this.addAbility(ReachAbility.getInstance());
        // Sacrifice a land: Spitting Spider deals 1 damage to each creature with flying.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(1, filter), new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledLandPermanent()))));
    }
View Full Code Here

        this.expansionSetCode = "ODY";

        this.color.setRed(true);

        // {R}, Sacrifice a land: Magma Vein deals 1 damage to each creature without flying.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(1, filter1), new ManaCostsImpl("{R}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(filter2)));
        this.addAbility(ability);
       
    }
View Full Code Here

        this.power = new MageInt(3);
        this.toughness = new MageInt(3);
        Ability firstAbility = new SpellCastControllerTriggeredAbility(new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn), filterBlue, false);
        firstAbility.addTarget(new TargetCreaturePermanent());
        this.addAbility(firstAbility);
        this.addAbility(new SpellCastControllerTriggeredAbility(new DamageAllEffect(1, filter), filterRed, false));

    }
View Full Code Here

        super(ownerId, 205, "Windstorm", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{X}{G}");
        this.expansionSetCode = "M10";

        this.color.setGreen(true);

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

        // Electrickery deals 1 damage to target creature you don't control.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addEffect(new DamageTargetEffect(1));

        // Overload {1}{R} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
        this.addAbility(new OverloadAbility(this, new DamageAllEffect(1, filter), new ManaCostsImpl("{1}{R}")));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.DamageAllEffect

Copyright © 2018 www.massapicom. 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.