Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.CounterTargetEffect


class KiraGreatGlassSpinnerAbility extends TriggeredAbilityImpl {

    protected Map<UUID,Integer> turnUsed = new HashMap<>();

    public KiraGreatGlassSpinnerAbility() {
        super(Zone.BATTLEFIELD, new CounterTargetEffect(), false);
    }
View Full Code Here


        this.color.setBlue(true);
        this.color.setBlack(true);

        // Counter target spell. Its controller loses 3 life and you gain 3 life.
        this.getSpellAbility().addTarget(new TargetSpell(new FilterSpell()));
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addEffect(new LoseLifeTargetControllerEffect(3));
        Effect effect = new GainLifeEffect(3);
        effect.setText("and you gain 3 life");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

class JettingGlasskiteAbility extends TriggeredAbilityImpl {

    protected int turnUsed;

    public JettingGlasskiteAbility() {
        super(Zone.BATTLEFIELD, new CounterTargetEffect(), false);
    }
View Full Code Here

        this.color.setBlue(true);
        this.color.setBlack(true);

        // Counter target noncreature spell. Its controller loses 2 life.
        this.getSpellAbility().addTarget(new TargetSpell(filter));
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addEffect(new LoseLifeTargetControllerEffect(2));
    }
View Full Code Here

        this.color.setBlue(true);

        // Counter target spell.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{U}")));
    }
View Full Code Here

        this.expansionSetCode = "AVR";

        this.color.setBlue(true);

        // Counter target spell that targets a player.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new CustomTargetSpell(filter));
    }
View Full Code Here

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

        this.color.setBlue(true);
        this.color.setWhite(true);

        // Counter target spell that targets you or a permanent you control.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell(filter));
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

    public FuelForTheCause (UUID ownerId) {
        super(ownerId, 25, "Fuel for the Cause", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
        this.expansionSetCode = "MBS";
        this.color.setBlue(true);
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addEffect(new ProliferateEffect());
    }
View Full Code Here

        this.color.setBlue(true);

        // Counter target spell. Untap up to four lands.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addEffect(new UntapLandsEffect(4));
    }
View Full Code Here

TOP

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

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.