Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DamageAllEffect


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

        // Overload {3}{R}{R}{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(4, filter), new ManaCostsImpl("{3}{R}{R}{R}"), TimingRule.SORCERY));
    }
View Full Code Here


        // Street Spasm deals X damage to target creature without flying you don't control.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addEffect(new DamageTargetEffect(new ManacostVariableValue()));

        // Overload {X}{X}{R}{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(new ManacostVariableValue(), filter), new ManaCostsImpl("{X}{X}{R}{R}")));
    }
View Full Code Here

        this.expansionSetCode = "ODY";

        this.color.setGreen(true);

        // Howling Gale deals 1 damage to each creature with flying and each player.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
        Effect effect = new DamagePlayersEffect(1);
        effect.setText("and each player");
        this.getSpellAbility().addEffect(effect);
        // Flashback {1}{G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{G}"), TimingRule.INSTANT));
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.