Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.SacrificeAllEffect


        // Each player loses 1 life, discards a card, sacrifices a creature, then sacrifices a land.
        this.getSpellAbility().addEffect(new LoseLifeAllPlayersEffect(1));
        Effect effect = new DiscardEachPlayerEffect();
        effect.setText(", discards a card");
        this.getSpellAbility().addEffect(effect);
        effect = new SacrificeAllEffect(1, filterCreature);
        effect.setText(", sacrifices a creature");
        this.getSpellAbility().addEffect(effect);
        effect = new SacrificeAllEffect(1, filterLand);
        effect.setText(", then sacrifices a land");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here


        this.expansionSetCode = "HOP";

        this.color.setBlack(true);

        // Each player sacrifices a creature.
        this.getSpellAbility().addEffect(new SacrificeAllEffect(1, new FilterControlledCreaturePermanent("creature")));
    }
View Full Code Here

        super(ownerId, 228, "Wildfire", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{4}{R}{R}");
        this.expansionSetCode = "USG";
        this.color.setRed(true);

        //Each player sacrifices four lands.
        this.getSpellAbility().addEffect(new SacrificeAllEffect(4, filter));
        //Wildfire deals 4 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(4, new FilterCreaturePermanent()));
    }
View Full Code Here

        super(ownerId, 133, "Destructive Force", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{5}{R}{R}");
        this.expansionSetCode = "M11";
        this.color.setRed(true);

        // Each player sacrifices five lands.
        this.getSpellAbility().addEffect(new SacrificeAllEffect(5, filterLand));
        // Destructive Force deals 5 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(5, filterCreature));
    }
View Full Code Here

        DynamicValue xValue = new ManacostVariableValue();
        this.getSpellAbility().addEffect(new LoseLifeAllPlayersEffect(xValue));
        Effect effect = new DiscardEachPlayerEffect(xValue, false);
        effect.setText(", discards X cards");
        this.getSpellAbility().addEffect(effect);
        effect = new SacrificeAllEffect(xValue, new FilterControlledCreaturePermanent("creatures"));
        effect.setText(", sacrifices X creatures");
        this.getSpellAbility().addEffect(effect);
        effect = new SacrificeAllEffect(xValue, new FilterControlledLandPermanent("lands"));
        effect.setText("then sacrifices X lands");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.SacrificeAllEffect

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.