Package mage.abilities.effects.common.discard

Examples of mage.abilities.effects.common.discard.DiscardEachPlayerEffect


        this.subtype.add("Zombie");
        this.subtype.add("Rat");
        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DiscardEachPlayerEffect()));
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{1}{B}")));
    }
View Full Code Here


        this.power = new MageInt(2);
        this.toughness = new MageInt(1);

        // When Noggle Ransacker enters the battlefield, each player draws two cards, then discards a card at random.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DrawCardAllEffect(2));
        ability.addEffect(new DiscardEachPlayerEffect(1, true));
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setRed(true);

        // Each player draws three cards, then discards three cards at random.
        this.getSpellAbility().addEffect(new DrawCardAllEffect(3));
        Effect effect = new DiscardEachPlayerEffect(3, true);
        effect.setText("then discards three cards at random");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

        this.subtype.add("Drake");
        this.color.setBlue(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(2);
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new DiesTriggeredAbility(new DiscardEachPlayerEffect()));
    }
View Full Code Here

        this.color.setBlack(true);

        // 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

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());

        // {1}{B}{R}, {tap}: Each player discards a card. Activate this ability only any time you could cast a sorcery.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DiscardEachPlayerEffect(), new ManaCostsImpl("{1}{B}{R}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

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

        // All Slivers have "{1}, Sacrifice this permanent: Each player discards a card."
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DiscardEachPlayerEffect(),new GenericManaCost(1));
        ability.addCost(new SacrificeSourceCost());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(
                ability, Duration.WhileOnBattlefield,
                filter, "All Slivers have \"{1}, Sacrifice this permanent: Each player discards a card.\"")));
    }
View Full Code Here

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

        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DiscardEachPlayerEffect(TargetController.OPPONENT), false));
    }
View Full Code Here

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

        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new EntersBattlefieldTriggeredAbility(new DiscardEachPlayerEffect(TargetController.OPPONENT), false));
    }
View Full Code Here

        this.color.setBlue(true);
        this.color.setBlack(true);

        // 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

TOP

Related Classes of mage.abilities.effects.common.discard.DiscardEachPlayerEffect

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.