Package mage.target

Examples of mage.target.TargetSpell


  public Redirect(UUID ownerId) {
    super(ownerId, 71, "Redirect", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{U}{U}");
    this.expansionSetCode = "M11";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetSpell());
    this.getSpellAbility().addEffect(new ChooseNewTargetsTargetEffect());
  }
View Full Code Here


  public Negate(UUID ownerId) {
    super(ownerId, 65, "Negate", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
    this.expansionSetCode = "M10";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetSpell(filter));
    this.getSpellAbility().addEffect(new CounterTargetEffect());
  }
View Full Code Here

  public ManaLeak(UUID ownerId) {
    super(ownerId, 62, "Mana Leak", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
    this.expansionSetCode = "M11";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetSpell());
    this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(3)));
  }
View Full Code Here

  public Cancel(UUID ownerId) {
    super(ownerId, 71, "Cancel", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{U}{U}");
    this.expansionSetCode = "10E";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetSpell());
    this.getSpellAbility().addEffect(new CounterTargetEffect());
  }
View Full Code Here

  public Flashfreeze(UUID ownerId) {
    super(ownerId, 84, "Flashfreeze", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
    this.expansionSetCode = "10E";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetSpell(filter));
    this.getSpellAbility().addEffect(new CounterTargetEffect());
  }
View Full Code Here

  public UnifiedWill(UUID ownerId) {
    super(ownerId, 92, "Unified Will", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{1}{U}");
    this.expansionSetCode = "ROE";
    this.color.setBlue(true);
    this.getSpellAbility().addTarget(new TargetSpell());
    this.getSpellAbility().addEffect(new UnifiedWillEffect());
  }
View Full Code Here

  public Deprive(UUID ownerId) {
    super(ownerId, 59, "Deprive", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{U}{U}");
    this.expansionSetCode = "ROE";
    this.color.setBlue(true);
    this.getSpellAbility().addCost(new ReturnToHandTargetCost(new TargetControlledPermanent(filter)));
    this.getSpellAbility().addTarget(new TargetSpell());
    this.getSpellAbility().addEffect(new CounterTargetEffect());
  }
View Full Code Here

        super(ownerId, 71, "Summoner's Bane", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
        this.expansionSetCode = "ZEN";

        this.color.setBlue(true);

        this.getSpellAbility().addTarget(new TargetSpell(filter));
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addEffect(new CreateTokenEffect(new IllusionToken()));
    }
View Full Code Here

        // Whenever a spell or ability you control counters a spell, you may put a 1/1 blue Merfolk creature token onto the battlefield.
        this.addAbility(new LullmageMentorTriggeredAbility());
        this.addWatcher(new CastedSpellsWithSpellTarget());
        // Tap seven untapped Merfolk you control: Counter target spell.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new TapTargetCost(new TargetControlledCreaturePermanent(7, 7, filter, true)));
        ability.addTarget(new TargetSpell());
        this.addAbility(ability);

    }
View Full Code Here

        // If an opponent cast three or more spells this turn, you may pay {0} rather than pay Mindbreak Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(
                new MindbreakTrapAlternativeCost());
        this.addWatcher(new MindbreakTrapWatcher());
        // Exile any number of target spells.
        this.getSpellAbility().addTarget(new TargetSpell(0, Integer.MAX_VALUE, filter));
        this.getSpellAbility().addEffect(new MindbreakEffect());
    }
View Full Code Here

TOP

Related Classes of mage.target.TargetSpell

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.