Examples of DrawCardTargetEffect


Examples of mage.abilities.effects.common.DrawCardTargetEffect

    public BlueSunsZenith (UUID ownerId) {
        super(ownerId, 20, "Blue Sun's Zenith", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{X}{U}{U}{U}");
        this.expansionSetCode = "MBS";
        this.color.setBlue(true);
        this.getSpellAbility().addEffect(new DrawCardTargetEffect(new ManacostVariableValue()));
        this.getSpellAbility().addEffect(ShuffleSpellEffect.getInstance());
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

       
        // At the beginning of each player's upkeep, that player loses 2 life and draws two cards.
        Effect effect = new LoseLifeTargetEffect(2);
        effect.setText("that player loses 2 life");
        Ability ability = new BeginningOfUpkeepTriggeredAbility(effect, TargetController.ANY, false);
        effect = new DrawCardTargetEffect(2);
        effect.setText("and draws two cards");
        ability.addEffect(effect);
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        this.toughness = new MageInt(2);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // {B}{R}{G}, {tap}: Target player draws a card.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(1), new ManaCostsImpl("{B}{R}{G}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

       
        // Walking Archive enters the battlefield with a +1/+1 counter on it.
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), "Walking Archive enters the battlefield with a +1/+1 counter on it"));
       
        // At the beginning of each player's upkeep, that player draws a card for each +1/+1 counter on Walking Archive.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new DrawCardTargetEffect(new CountersCount(CounterType.P1P1)), TargetController.ANY, false));
       
        // {2}{W}{U}: Put a +1/+1 counter on Walking Archive.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.P1P1.createInstance()), new ManaCostsImpl("{2}{W}{U}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        this.expansionSetCode = "RTR";

        this.color.setBlue(true);

        // Target player draws two cards.
        this.getSpellAbility().addEffect(new DrawCardTargetEffect(2));
        this.getSpellAbility().addTarget(new TargetPlayer());

    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

    public SignInBlood(UUID ownerId) {
        super(ownerId, 112, "Sign in Blood", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{B}{B}");
        this.expansionSetCode = "M10";
        this.color.setBlack(true);
        this.getSpellAbility().addTarget(new TargetPlayer());
        this.getSpellAbility().addEffect(new DrawCardTargetEffect(2));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(2));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

}

class EdricSpymasterOfTrestTriggeredAbility extends TriggeredAbilityImpl {

    public EdricSpymasterOfTrestTriggeredAbility() {
        super(Zone.BATTLEFIELD, new DrawCardTargetEffect(1), true);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        manaAbility.addEffect(new DamageControllerEffect(1));
        this.addAbility(manaAbility);

        // Threshold - {U}, {tap}, Sacrifice Cephalid Coliseum: Target player draws three cards, then discards three cards. Activate this ability only if seven or more cards are in your graveyard.
        Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
            new DrawCardTargetEffect(3),
            new ManaCostsImpl("{U}"),
            new CardsInControllerGraveCondition(7),
            "<i>Threshold</i> - {U}, {T}, Sacrifice {this}: Target player draws three cards, then discards three cards. Activate this ability only if seven or more cards are in your graveyard.");
        thresholdAbility.addEffect(new DiscardTargetEffect(3));
        thresholdAbility.addCost(new TapSourceCost());
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        this.expansionSetCode = "DKA";

        this.color.setBlack(true);

        // Target player draws three cards and loses 3 life.
        this.getSpellAbility().addEffect(new DrawCardTargetEffect(3));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetPlayer());
    }
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.