Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.DrawCardAllEffect


    this.expansionSetCode = "M10";
    this.subtype.add("Jace");
    this.color.setBlue(true);
    this.loyalty = new MageInt(3);

    this.addAbility(new LoyaltyAbility(new DrawCardAllEffect(1), 2));

    LoyaltyAbility ability1 = new LoyaltyAbility(new DrawCardTargetEffect(1), -1);
    ability1.addTarget(new TargetPlayer());
    this.addAbility(ability1);
View Full Code Here


public class TempleBell extends CardImpl<TempleBell> {

  public TempleBell(UUID ownerId) {
    super(ownerId, 217, "Temple Bell", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{3}");
    this.expansionSetCode = "M11";
    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardAllEffect(1), new TapSourceCost()));
  }
View Full Code Here

        super(ownerId, 224, "Runed Servitor", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{2}");
        this.expansionSetCode = "ROE";
        this.subtype.add("Construct");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        this.addAbility(new DiesTriggeredAbility(new DrawCardAllEffect(1), false));
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Kinship - At the beginning of your upkeep, you may look at the top card of your library. If it shares a creature type with Sensation Gorger, you may reveal it.
        // If you do, each player discards his or her hand, then draws four cards.
        KinshipAbility ability = new KinshipAbility(new DiscardHandAllEffect());
        Effect effect = new DrawCardAllEffect(4);
        effect.setText(", then draws four cards");
        ability.addKinshipEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

                    if (player != null && player.getLibrary().size() > 0) {
                        controller.moveCardToGraveyardWithInfo(player.getLibrary().getFromTop(game), source.getSourceId(), game, Zone.LIBRARY);
                    }
                }               
            } else {
                new DrawCardAllEffect(1).apply(game, source);
            }
            return true;
        }
        return false;
    }
View Full Code Here

        this.toughness = new MageInt(5);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // At the beginning of your upkeep, each opponent draws a card.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new DrawCardAllEffect(1, TargetController.OPPONENT), TargetController.YOU, false));
    }
View Full Code Here

        this.color.setRed(true);

        // Each player discards his or her hand,
        this.getSpellAbility().addEffect(new DiscardHandAllEffect());
        // then draws seven cards.
        Effect effect = new DrawCardAllEffect(7);
        effect.setText(", then draws seven cards");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

        this.expansionSetCode = "C13";

        this.color.setBlue(true);

        // Each player draws X cards.
        this.getSpellAbility().addEffect(new DrawCardAllEffect(new ManacostVariableValue()));
    }
View Full Code Here

        this.subtype.add("Jace");
        this.color.setBlue(true);
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), false));


        this.addAbility(new LoyaltyAbility(new DrawCardAllEffect(1), 2));

        LoyaltyAbility ability1 = new LoyaltyAbility(new DrawCardTargetEffect(1), -1);
        ability1.addTarget(new TargetPlayer());
        this.addAbility(ability1);
View Full Code Here

        // Suspend 4-{1}{R}
        this.addAbility(new SuspendAbility(4, new ManaCostsImpl("{1}{R}"), this));
        // Each player discards his or her hand, then draws seven cards.
        this.getSpellAbility().addEffect(new DiscardHandAllEffect());
        this.getSpellAbility().addEffect(new DrawCardAllEffect(7));
    }
View Full Code Here

TOP

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

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.