Examples of DrawCardTargetEffect


Examples of mage.abilities.effects.common.DrawCardTargetEffect

    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);

    LoyaltyAbility ability2 = new LoyaltyAbility(new PutLibraryIntoGraveTargetEffect(20), -10);
    ability2.addTarget(new TargetPlayer());
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

}

class HowlingMineAbility extends TriggeredAbilityImpl<HowlingMineAbility> {

  public HowlingMineAbility() {
    super(Zone.BATTLEFIELD, new DrawCardTargetEffect(1));
  }
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 FontOfMythosAbility extends TriggeredAbilityImpl<FontOfMythosAbility> {

  public FontOfMythosAbility() {
    super(Zone.BATTLEFIELD, new DrawCardTargetEffect(2));
  }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

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

        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(1), new TapSourceCost());
        ability.addEffect(new DiscardTargetEffect(1));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        this.color.setBlue(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // Whenever a Sliver deals combat damage to a player, its controller may draw a card.
        Effect effect = new DrawCardTargetEffect(1);
        effect.setText("its controller may draw a card");
        this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(effect,
                        new FilterCreaturePermanent("Sliver", "a Sliver"),
                        true, true, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        // Toil
        // Target player draws two cards and loses 2 life.
        getLeftHalfCard().getColor().setBlack(true);
        getLeftHalfCard().getSpellAbility().addTarget(new TargetPlayer());
        getLeftHalfCard().getSpellAbility().addEffect(new DrawCardTargetEffect(2));
        getLeftHalfCard().getSpellAbility().addEffect(new LoseLifeTargetEffect(2));

        // Trouble
        // Trouble deals damage to target player equal to the number of cards in that player's hand.
        getRightHalfCard().getColor().setRed(true);
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        this.expansionSetCode = "NPH";
        this.subtype.add("Golem");
        this.power = new MageInt(10);
        this.toughness = new MageInt(10);
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.M1M1.createInstance(5)), "{this} gets five -1/-1 counters"));
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(3), new ManaCostsImpl("{W}{U}{B}{R}{G}"));
        ability.addCost(new RemoveCountersSourceCost(CounterType.M1M1.createInstance(5)));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        this.power = new MageInt(5);
        this.toughness = new MageInt(4);

        this.addAbility(FlyingAbility.getInstance());
        // At the beginning of your upkeep, target player draws a card and loses 1 life.
        Ability ability = new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new DrawCardTargetEffect(1), false);
        ability.addEffect(new LoseLifeTargetEffect(1));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DrawCardTargetEffect

        super(ownerId, 53, "Caress of Phyrexia", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{3}{B}{B}");
        this.expansionSetCode = "NPH";

        this.color.setBlack(true);

        this.getSpellAbility().addEffect(new DrawCardTargetEffect(3));
        this.getSpellAbility().addEffect(new LoseLifeTargetEffect(3));
        this.getSpellAbility().addEffect(new AddPoisonCounterTargetEffect(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.