Examples of DamageEverythingEffect


Examples of mage.abilities.effects.common.DamageEverythingEffect

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

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(new PutIntoGraveFromBattlefieldTriggeredAbility(new DamageEverythingEffect(3), false));
    this.addAbility(new SimpleActivatedAbility(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(), new ManaCostsImpl("{3}{R}{R}")));
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "HML";

        this.color.setBlack(true);

        // Dry Spell deals 1 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "LEA";

        this.color.setGreen(true);

        // Hurricane deals X damage to each creature with flying and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(new ManacostVariableValue(), filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "DST";

        this.color.setRed(true);

        // Flamebreak deals 3 damage to each creature without flying and each player. Creatures dealt damage this way can't be regenerated this turn.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(new StaticValue(3), filter1));
        this.getSpellAbility().addEffect(new FlamebreakCantRegenerateEffect());
        this.addWatcher(new DamagedByWatcher());       
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        // Protection from red
        this.addAbility(new ProtectionAbility(filterProtection));

        // Tap five untapped Goblins you control: Skirk Fire Marshal deals 10 damage to each creature and each player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new DamageEverythingEffect(10),
                new TapTargetCost(new TargetControlledCreaturePermanent(5,5, filter, false)));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "DRK";

        this.color.setRed(true);

        // Inferno deals 6 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(6));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "PTK";

        this.color.setRed(true);

        // Rolling Earthquake deals X damage to each creature without horsemanship and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(new ManacostVariableValue(), filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        filter.add(new ColorPredicate(ObjectColor.RED));
        filter.add(Predicates.not(new CardIdPredicate(this.getId())));      
        this.addAbility(new AlternativeCostSourceAbility(new ExileFromHandCost(new TargetCardInHand(filter))));
       
        // Cave-In deals 2 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // {X}: Crypt Rats deals X damage to each creature and each player. Spend only black mana this way.
        Effect effect = new DamageEverythingEffect(new ManacostVariableValue(), new FilterPermanent());
        effect.setText("{this} deals X damage to each creature and each player. Spend only black mana this way");
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect,new ManaCostsImpl("{X}"));
        VariableCost variableCost = ability.getManaCostsToPay().getVariableCosts().get(0);
        if (variableCost instanceof VariableManaCost) {
            ((VariableManaCost) variableCost).setFilter(filterBlack);
        }
View Full Code Here

Examples of mage.abilities.effects.common.DamageEverythingEffect

        this.expansionSetCode = "TOR";

        this.color.setBlack(true);

        // Psychotic Haze deals 1 damage to each creature and each player.
        this.getSpellAbility().addEffect(new DamageEverythingEffect(1));

        // Madness {1}{B}
        this.addAbility(new MadnessAbility(this, new ManaCostsImpl("{1}{B}")));
    }
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.