Examples of DamageAllEffect


Examples of mage.abilities.effects.common.DamageAllEffect

        // Incendiary Command deals 4 damage to target player;
        this.getSpellAbility().addEffect(new DamageTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetPlayer());
        // or Incendiary Command deals 2 damage to each creature;
        Mode mode = new Mode();
        mode.getEffects().add(new DamageAllEffect(2, new FilterCreaturePermanent()));
        this.getSpellAbility().getModes().addMode(mode);
        // or destroy target nonbasic land;
        mode = new Mode();
        mode.getEffects().add(new DestroyTargetEffect());
        mode.getTargets().add(new TargetNonBasicLandPermanent());
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

       
        // Haste
        this.addAbility(HasteAbility.getInstance());
       
        // When Thundermaw Hellkite enters the battlefield, it deals 1 damage to each creature with flying your opponents control. Tap those creatures.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageAllEffect(1, filter));
        ability.addEffect(new TapAllEffect(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.expansionSetCode = "ODY";

        this.color.setRed(true);

        // Volcanic Spray deals 1 damage to each creature without flying and each player.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
        // Flashback {1}{R}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{R}"), TimingRule.SORCERY));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

    public HurlyBurly(UUID ownerId) {
        super(ownerId, 177, "Hurly-Burly", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{1}{R}");
        this.expansionSetCode = "LRW";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filterWithFlying));
        Mode mode = new Mode();
        mode.getEffects().add(new DamageAllEffect(1, filterWithoutFlying));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.color.setRed(true);
        this.color.setGreen(true);

        // Savage Twister deals X damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(new ManacostVariableValue(), new FilterCreaturePermanent()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

    public Slagstorm (UUID ownerId) {
        super(ownerId, 75, "Slagstorm", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
        this.expansionSetCode = "MBS";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(3, new FilterCreaturePermanent()));
        Mode mode = new Mode();
        mode.getEffects().add(new DamagePlayersEffect(3));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.subtype.add("Spirit");
        this.color.setRed(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new DiesTriggeredAbility(new DamageAllEffect(5, filter)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

    public GaleForce(UUID ownerId) {
        super(ownerId, 209, "Gale Force", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{4}{G}");
        this.expansionSetCode = "CHK";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(5, filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

        this.subtype.add("Spirit");
        this.color.setRed(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(5);
        // Whenever you cast a Spirit or Arcane spell, Earthshaker deals 2 damage to each creature without flying.
        this.addAbility(new SpellCastControllerTriggeredAbility(new DamageAllEffect(new StaticValue(2) , creatureFilter), filter, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageAllEffect

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

        // {1}{R}: Ashen Firebeast deals 1 damage to each creature without flying.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(1, filter), new ManaCostsImpl("{1}{R}")));
    }
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.