Examples of LoseLifeAllPlayersEffect


Examples of mage.abilities.effects.common.LoseLifeAllPlayersEffect

        // Each player draws two cards, then discards three cards, then loses 4 life.
        this.getSpellAbility().addEffect(new DrawCardAllEffect(2));
        Effect effect = new DiscardEachPlayerEffect(3, false);
        effect.setText("then discards three cards");
        this.getSpellAbility().addEffect(effect);
        effect = new LoseLifeAllPlayersEffect(4);
        effect.setText("then loses 4 life");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeAllPlayersEffect

        this.color.setBlack(true);

        // Each player loses X life, discards X cards, sacrifices X creatures, then sacrifices X lands.
        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");
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.