Examples of TargetSpell


Examples of mage.target.TargetSpell

        super(ownerId, 67, "Spell Pierce", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{U}");
        this.expansionSetCode = "ZEN";
        this.color.setBlue(true);

        // Counter target noncreature spell unless its controller pays .
        this.getSpellAbility().addTarget(new TargetSpell(filter));
        this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(2)));
    }
View Full Code Here

Examples of mage.target.TargetSpell

        this.toughness = new MageInt(1);

        // {2}{U}{U}, {tap}: Counter target spell.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new ManaCostsImpl("{2}{U}{U}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetSpell());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.target.TargetSpell

        // Buyback-Discard two cards.
        this.addAbility(new BuybackAbility(new DiscardTargetCost(new TargetCardInHand(2, new FilterCard("two cards")))));
        // Counter target spell.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here

Examples of mage.target.TargetSpell

    public Dismiss(UUID ownerId) {
        super(ownerId, 58, "Dismiss", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
        this.expansionSetCode = "TMP";
        this.color.setBlue(true);
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

Examples of mage.target.TargetSpell

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

Examples of mage.target.TargetSpell

  public Reverberate(UUID ownerId) {
    super(ownerId, 155, "Reverberate", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{R}{R}");
    this.expansionSetCode = "M11";
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetSpell(filter));
    this.getSpellAbility().addEffect(new CopyTargetSpellEffect());
  }
View Full Code Here

Examples of mage.target.TargetSpell

        // You may change any targets of target Arcane spell.
        Effect effect = new ChooseNewTargetsTargetEffect(false, false);
        effect.setText("You may change any targets of target Arcane spell");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
View Full Code Here

Examples of mage.target.TargetSpell

        this.color.setBlue(true);

        // Counter target spell. Look at its controller's hand.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new LayBareEffect());
    }
View Full Code Here

Examples of mage.target.TargetSpell

        this.color.setBlue(true);

        // Counter target spell unless its controller pays {X}, where X is your devotion to blue.
        this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new DevotionCount(ColoredManaSymbol.U)));
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here

Examples of mage.target.TargetSpell

        this.expansionSetCode = "NPH";
        this.color.setBlue(true);
       
        // Counter target spell with converted mana cost 1.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
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.