Examples of CounterUnlessPaysEffect


Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

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

        // {2}, Reveal X blue cards from your hand, Sacrifice Martyr of Frost: Counter target spell unless its controller pays {X}.
        Effect effect = new CounterUnlessPaysEffect(new RevealTargetFromHandCostCount());
        effect.setText("Counter target spell unless its controller pays {X}.");
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new GenericManaCost(2));
        ability.addCost(new RevealTargetFromHandCost(new TargetCardInHand(0, Integer.MAX_VALUE, filter)));
        ability.addCost(new SacrificeSourceCost());
        ability.addTarget(new TargetSpell());
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

        // Sacrifice Cursecatcher: Counter target instant or sorcery spell unless its controller pays {1}.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CounterUnlessPaysEffect(new GenericManaCost(1)),
                new SacrificeSourceCost());
        ability.addTarget(new TargetSpell(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        this.color.setBlue(true);

        // Counter target noncreature spell unless its controller pays {1}.
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                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(),
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        this.color.setBlue(true);

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

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        Target target = new TargetCreaturePermanent(filter);
        this.getSpellAbility().addTarget(target);       
       
        // <strong>�</strong> Counter target spell unless its controller pays {3}.
        Mode mode = new Mode();
        mode.getEffects().add(new CounterUnlessPaysEffect(new GenericManaCost(3)));
        mode.getTargets().add(new TargetSpell());
        this.getSpellAbility().addMode(mode);
       
        // <strong>�</strong> Creatures with power 3 or less can't block this turn.
        mode = new Mode();
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        // Multikicker {1}{U}
        this.addAbility(new MultikickerAbility("{1}{U}"));
       
        // Counter target spell unless its controller pays {2}. Draw a card for each time Spell Contortion was kicked.
        this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(2)));
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(new MultikickerCount()));
        this.getSpellAbility().addTarget(new TargetSpell());
       
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

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

        // Whenever a Sliver creature you control becomes the target of a spell or ability an opponent controls, counter that spell or ability unless its controller pays {2}.
        this.addAbility(new DiffusionSliverTriggeredAbility(new CounterUnlessPaysEffect(new GenericManaCost(2))));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        this.color.setWhite(true);

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

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

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

        // Counter target spell unless its controller discards his or her hand.
        Effect effect = new CounterUnlessPaysEffect(new DiscardHandCost());
        effect.setText("Counter target spell unless its controller discards his or her hand");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetSpell());
        // Transmute {1}{U}{B}
        this.addAbility(new TransmuteAbility("{1}{U}{B}"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CounterUnlessPaysEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Sacrifice Judge's Familiar: Counter target instant or sorcery spell unless its controller pays {1}.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new CounterUnlessPaysEffect(new GenericManaCost(1)),
                new SacrificeSourceCost());
        ability.addTarget(new TargetSpell(filter));
        this.addAbility(ability);
    }
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.