Examples of SkipNextUntapTargetEffect


Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    this.subtype.add("Ajani");
    this.color.setRed(true);
    this.color.setWhite(true);
    this.loyalty = new MageInt(3);

    LoyaltyAbility ability1 = new LoyaltyAbility(new SkipNextUntapTargetEffect(), 1);
    ability1.addTarget(new TargetPermanent());
    this.addAbility(ability1);

    Effects effects1 = new Effects();
    effects1.add(new DamageTargetEffect(3));
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

}

class WallOfFrostAbility extends TriggeredAbilityImpl<WallOfFrostAbility> {

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

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.toughness = new MageInt(2);

        // When Kor Hookmaster enters the battlefield, tap target creature an opponent controls.
        // That creature doesn't untap during its controller's next untap step.
        EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect());
        ability.addEffect(new SkipNextUntapTargetEffect());
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

                if (cost.pay(source, game, source.getSourceId(), source.getControllerId(), false)) {
                    for (UUID target : this.targetPointer.getTargets(game, source)) {
                        Permanent permanent = game.getPermanent(target);
                        if (permanent != null) {
                            permanent.tap(game);
                            ContinuousEffect effect = new SkipNextUntapTargetEffect();
                            effect.setTargetPointer(new FixedTarget(permanent.getId()));
                            game.addEffect(effect, source);
                        }
                    }
                    return false;
                }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

class FrostTitanAbility2 extends TriggeredAbilityImpl<FrostTitanAbility2> {

  public FrostTitanAbility2() {
    super(Zone.BATTLEFIELD, new TapTargetEffect(), false);
    this.addEffect(new SkipNextUntapTargetEffect());
    this.addTarget(new TargetPermanent());
  }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.color.setBlue(true);

        // Whenever you cast a noncreature spell, you may pay {1}. If you do, tap target creature an opponent controls and it doesn't untap during its controller's next untap step.
        DoIfCostPaid doIfCostPaid = new DoIfCostPaid(new TapTargetEffect(), new GenericManaCost(1),"Tap creature?");       
        Effect effect = new SkipNextUntapTargetEffect();
        effect.setText("and it doesn't untap during its controller's next untap step");
        doIfCostPaid.addEffect(effect);
        Ability ability = new SpellCastControllerTriggeredAbility(doIfCostPaid, filterNonCreature, false);
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);       
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

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

        // When Frost Lynx enters the battlefield, tap target creature an opponent controls.  It doesn't untap during its controller's next untap step.
        Ability ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect(), false);
        ability.addEffect(new SkipNextUntapTargetEffect("It"));
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    public BarlsCage(UUID ownerId) {
        super(ownerId, 93, "Barl's Cage", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "DRK";

    // {3}: Target creature doesn't untap during its controller's next untap step.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new SkipNextUntapTargetEffect("Target creature"), new GenericManaCost(3));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    @Override
    public boolean apply(Game game, Ability source) {
        Player player = game.getPlayer(source.getFirstTarget());
        if (player != null) {
            for (Permanent permanent : game.getBattlefield().getAllActivePermanents(filter, player.getId(), game)) {
                ContinuousEffect effect = new SkipNextUntapTargetEffect();
                effect.setTargetPointer(new FixedTarget(permanent.getId()));
                game.addEffect(effect, source);                     
            }
            return true;
        }
        return false;
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.color.setBlue(true);

        // Tap up to two target creatures. Those creatures don't untap during their controllers' next untap steps. Scry 1.
        this.getSpellAbility().addEffect(new TapTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
        this.getSpellAbility().addEffect(new SkipNextUntapTargetEffect());
        this.getSpellAbility().addEffect(new ScryEffect(1));
    }
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.