Examples of DamageAllEffect


Examples of mage.abilities.effects.common.DamageAllEffect

  public DestructiveForce(UUID ownerId) {
    super(ownerId, 133, "Destructive Force", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{5}{R}{R}");
    this.expansionSetCode = "M11";
    this.color.setRed(true);
    this.getSpellAbility().addEffect(new SacrificeAllEffect(5, filter));
    this.getSpellAbility().addEffect(new DamageAllEffect(5, FilterCreaturePermanent.getDefault()));
  }
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, FilterCreaturePermanent.getDefault()));
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        super(ownerId, 147, "Seismic Shudder", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}");
        this.expansionSetCode = "ZEN";

        this.color.setRed(true);

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

Examples of mage.abilities.effects.common.DamageAllEffect

        this.getSpellAbility().addAlternativeCost(new LavaballTrapAlternativeCost());
        this.addWatcher(new LavaballTrapWatcher());

        // Destroy two target lands. Lavaball Trap deals 4 damage to each creature.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addEffect(new DamageAllEffect(4, new FilterCreaturePermanent()));
        this.getSpellAbility().addTarget(new TargetLandPermanent(2));

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        super(ownerId, 348, "Spontaneous Combustion", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{B}{R}");
        this.expansionSetCode = "TMP";
        this.color.setRed(true);
        this.color.setBlack(true);
        this.getSpellAbility().addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        this.getSpellAbility().addEffect(new DamageAllEffect(3, new FilterCreaturePermanent()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "BNG";

        this.color.setGreen(true);

        // Skyreaping deals damage to each creature with flying equal to your devotion to green.
        Effect effect = new DamageAllEffect(new DevotionCount(ColoredManaSymbol.G), filter);
        effect.setText("{this} deals damage to each creature with flying equal to your devotion to green <i>(Each {G} in the mana costs of permanents you control counts toward your devotion to green.)</i>");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        // Choose one - Exile all cards from target player's graveyard;
        this.getSpellAbility().addEffect(new ExileGraveyardAllTargetPlayerEffect());
        this.getSpellAbility().addTarget(new TargetPlayer());
        // or Jund Charm deals 2 damage to each creature;
        Mode mode = new Mode();
        mode.getEffects().add(new DamageAllEffect(2, new FilterCreaturePermanent()));
        this.getSpellAbility().addMode(mode);
        // or put two +1/+1 counters on target creature.
        mode = new Mode();
        mode.getEffects().add(new AddCountersTargetEffect(CounterType.P1P1.createInstance(2), Outcome.BoostCreature));
        mode.getTargets().add(new TargetCreaturePermanent());
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        super(ownerId, 199, "Yamabushi's Storm", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{1}{R}");
        this.expansionSetCode = "CHK";
        this.color.setRed(true);

        // Yamabushi's Storm deals 1 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, 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.expansionSetCode = "KTK";

        this.color.setRed(true);

        // Barrage of Boulders deals 1 damage to each creature you don't control.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
        // Ferocious - If you control a creature with power 4 or greater, creatures can't block this turn
        Effect effect = new BarrageOfBouldersCantBlockAllEffect(new FilterCreaturePermanent("creatures"), Duration.EndOfTurn);
        effect.setText("<br/><br/><i>Ferocious</i> - If you control a creature with power 4 or greater, creatures can't block this turn");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "ISD";

        this.color.setRed(true);

        // Rolling Temblor deals 2 damage to each creature without flying.
        this.getSpellAbility().addEffect(new DamageAllEffect(2, filter));
        // Flashback {4}{R}{R}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{4}{R}{R}"), TimingRule.SORCERY));
    }
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.