Examples of DamageAllEffect


Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "ONS";

        this.color.setRed(true);

        // Slice and Dice deals 4 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(4, new FilterCreaturePermanent()));
        // Cycling {2}{R}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{R}")));
        // When you cycle Slice and Dice, you may have it deal 1 damage to each creature.
        this.addAbility(new CycleTriggeredAbility(new DamageAllEffect(1, new FilterCreaturePermanent()), true));

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        // When Wildfire Cerberus becomes monstrous, it deals 2 damage to each opponent and each creature your opponents control.
        Effect effect = new DamagePlayersEffect(2, TargetController.OPPONENT);
        effect.setText("it deals 2 damage to each opponent");
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(effect);
        effect = new DamageAllEffect(2, filter);
        effect.setText("and each creature your opponents control");
        ability.addEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.color.setRed(true);

        // You destroy four lands you control, then target opponent destroys four lands he or she controls. Then Burning of Xinye deals 4 damage to each creature.
        this.getSpellAbility().addTarget(new TargetOpponent());
        this.getSpellAbility().addEffect(new BurningOfXinyeEffect());
        this.getSpellAbility().addEffect(new DamageAllEffect(4, new FilterCreaturePermanent()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        // Reach
        this.addAbility(ReachAbility.getInstance());
        // {X}{G}{G}: Silklash Spider deals X damage to each creature with flying.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new DamageAllEffect(new ManacostVariableValue(), filter),
                new ManaCostsImpl("{X}{G}{G}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "WWK";

        this.color.setRed(true);

        // Chain Reaction deals X damage to each creature, where X is the number of creatures on the battlefield.
        this.getSpellAbility().addEffect(new DamageAllEffect(new PermanentsOnBattlefieldCount(new FilterCreaturePermanent()), new FilterCreaturePermanent()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

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

        // When Thundercloud Shaman enters the battlefield, it deals damage equal to the number of Giants you control to each non-Giant creature.
        Effect effect = new DamageAllEffect(new PermanentsOnBattlefieldCount(filterGiants),filterNonGiants);
        effect.setText("it deals damage equal to the number of Giants you control to each non-Giant creature");
        this.addAbility(new EntersBattlefieldTriggeredAbility(effect, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        mode.getEffects().add(new GainControlAllEffect(Duration.EndOfGame, filter2));
        this.getSpellAbility().addMode(mode);
       
        // or Gruul Charm deals 3 damage to each creature with flying.
        Mode mode2 = new Mode();
        mode2.getEffects().add(new DamageAllEffect(3, filter3));
        this.getSpellAbility().addMode(mode2);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "7ED";

        this.color.setRed(true);

        // Tremor deals 1 damage to each creature without flying.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "M13";

        this.color.setRed(true);

        // Magmaquake deals X damage to each creature without flying and each planeswalker.
        this.getSpellAbility().addEffect(new DamageAllEffect(new ManacostVariableValue(), filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "M13";

        this.color.setWhite(true);

        // Rain of Blades deals 1 damage to each attacking creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, new FilterAttackingCreature()));
    }
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.