Examples of SkipNextUntapTargetEffect


Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.color.setBlue(true);

        // Tap target creature. It doesn't untap during its controller's next untap step.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new TapTargetEffect());
        this.getSpellAbility().addEffect(new SkipNextUntapTargetEffect());
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

class VorinclexTriggeredAbility2 extends TriggeredAbilityImpl {

    private static final String staticText = "Whenever an opponent taps a land for mana, that land doesn't untap during its controller's next untap step.";

    public VorinclexTriggeredAbility2() {
        super(Zone.BATTLEFIELD, new SkipNextUntapTargetEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    public boolean apply(Game game, Ability source) {
        for (UUID targetId : this.targetPointer.getTargets(game, source)) {
            Permanent creature = game.getPermanent(targetId);
            if (creature != null) {
                creature.tap(game);
                SkipNextUntapTargetEffect effect = new SkipNextUntapTargetEffect();
                effect.setTargetPointer(new FixedTarget(targetId));
                game.addEffect(effect, source);
            }
        }
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.toughness = new MageInt(2);

        // Whenever Kashi-Tribe Elite deals combat damage to a creature, tap that creature and it doesn't untap during its controller's next untap step.
        Ability ability;
        ability = new DealsDamageToACreatureTriggeredAbility(new TapTargetEffect("that creature"), true, false, true);
        ability.addEffect(new SkipNextUntapTargetEffect("and it"));
        this.addAbility(ability);

        // {G}: Matsu-Tribe Birdstalker gains reach until end of turn. (It can block creatures with flying.)
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new GainAbilitySourceEffect(ReachAbility.getInstance(), Duration.EndOfTurn),
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.color.setBlue(true);

        //Tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
        this.getSpellAbility().addEffect(new TapTargetEffect());
        this.getSpellAbility().addEffect(new SkipNextUntapTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        //Cipher
        this.getSpellAbility().addEffect(new CipherEffect());
       
       
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.toughness = new MageInt(4);

        // Heroic - Whenever you cast a spell that targets Wavecrash Triton, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
        Ability ability = new HeroicAbility(new TapTargetEffect());
        ability.addTarget(new TargetCreaturePermanent(filter));
        ability.addEffect(new SkipNextUntapTargetEffect("That creature"));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

            for (Set<String> attackerSet :attackerMap.values()) {
                for (Permanent creature : game.getBattlefield().getActivePermanents(new FilterCreaturePermanent(), source.getControllerId(), game)) {
                    if (attackerSet.contains(CardUtil.getCardZoneString(null, creature.getId(), game))) {
                        // tap creature and add the not untap effect
                        creature.tap(game);
                        ContinuousEffect effect  = new SkipNextUntapTargetEffect();
                        effect.setTargetPointer(new FixedTarget(creature.getId()));
                        game.addEffect(effect, source);
                        game.informPlayers(new StringBuilder("Triton Tactics: ").append(creature.getName()).append(" doesn't untap during its controller's next untap step").toString());
                    }
                }
            }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    @Override
    public boolean checkTrigger(GameEvent event, Game game) {
        if (EventType.CLASHED.equals(event.getType()) && event.getPlayerId().equals(getControllerId())) {
            if (event.getFlag()) { // clash won
                addEffect(new SkipNextUntapTargetEffect("that creature"));
            }
            return true;
        }
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(ShroudAbility.getInstance(), Duration.WhileOnBattlefield, filter, false)));

        // Whenever Kashi-Tribe Elite deals combat damage to a creature, tap that creature and it doesn't untap during its controller's next untap step.
        Ability ability;
        ability = new DealsDamageToACreatureTriggeredAbility(new TapTargetEffect("that creature"), true, false, true);
        ability.addEffect(new SkipNextUntapTargetEffect("and it"));
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.color.setRed(true);
        this.color.setWhite(true);
        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), false));

        // +1: Target permanent doesn't untap during its controller's next untap step.
        LoyaltyAbility ability1 = new LoyaltyAbility(new SkipNextUntapTargetEffect(), 1);
        ability1.addTarget(new TargetPermanent());
        this.addAbility(ability1);

        // −2: Ajani Vengeant deals 3 damage to target creature or player and you gain 3 life.
        Effects effects1 = new Effects();
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.