Examples of CounterTargetEffect


Examples of mage.abilities.effects.common.CounterTargetEffect

    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

Examples of mage.abilities.effects.common.CounterTargetEffect

                new CounterUnlessPaysEffect(new GenericManaCost(1)),
                new InvertCondition(FerociousCondition.getInstance()),
                "Counter target noncreature spell unless its controller pays {1}."));
        // <i>Ferocious</i> - If you control a creature with power 4 or greater, counter that spell instead.
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new CounterTargetEffect(),
                FerociousCondition.getInstance(),
                "<br><br><i>Ferocious</i> - If you control a creature with power 4 or greater, counter that spell instead"));
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

        this.expansionSetCode = "KTK";

        this.color.setBlue(true);

        // Counter target spell with converted mana cost 4 or greater.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

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

        // {U}{U}, Sacrifice a Wizard: Counter target spell.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CounterTargetEffect(), new ManaCostsImpl("{U}{U}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, false)));
        Target target = new TargetSpell();
        ability.addTarget(target);
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

        this.color.setBlue(true);

        // Counter target spell. Return target permanent to its owner's hand.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent());
        this.getSpellAbility().addEffect(new LostInTheMistEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

        this.expansionSetCode = "LEA";

        this.color.setBlue(true);

        // Choose one - Counter target red spell; or destroy target red permanent.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell(filterSpell));
       
        Mode mode = new Mode();
        mode.getEffects().add(new DestroyTargetEffect());
        mode.getTargets().add(new TargetPermanent(filterPermanent));
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

        this.color.setRed(true);
        this.color.setGreen(true);

        // Counter target blue instant spell.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

    public LastWord (UUID ownerId) {
        super(ownerId, 23, "Last Word", Rarity.RARE, new CardType[]{CardType.INSTANT}, "{2}{U}{U}");
        this.expansionSetCode = "DST";
        this.color.setBlue(true);
        this.addAbility(new CantCounterAbility());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell());
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

        this.expansionSetCode = "BNG";

        this.color.setBlue(true);

        // Counter target creature or Aura spell.
        this.getSpellAbility().addEffect(new CounterTargetEffect());
        this.getSpellAbility().addTarget(new TargetSpell(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterTargetEffect

        // As an additional cost to cast Deprive, return a land you control to its owner's hand.
        this.getSpellAbility().addCost(new ReturnToHandTargetCost(new TargetControlledPermanent(filter)));

        // Counter target spell.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
    }
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.