Examples of SkipNextUntapTargetEffect


Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        // Equipped creature gets +0/+2 and has vigilance.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEquippedEffect(0, 2)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(VigilanceAbility.getInstance(), AttachmentType.EQUIPMENT)));
       
        // Whenever equipped creature blocks a creature, that creature doesn't untap during its controller's next untap step.
        this.addAbility(new BlocksCreatureAttachedTriggeredAbility(new SkipNextUntapTargetEffect("that creature"), "equipped", false, false, true));
       
        // Equip {2}
        this.addAbility(new EquipAbility(Outcome.AddAbility, new GenericManaCost(2), new TargetControlledCreaturePermanent()));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.power = new MageInt(0);
        this.toughness = new MageInt(7);

        this.addAbility(DefenderAbility.getInstance());
        // Whenever Wall of Frost blocks a creature, that creature doesn't untap during its controller's next untap step.
        this.addAbility(new BlocksCreatureTriggeredAbility(new SkipNextUntapTargetEffect("that creature"), false, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

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

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    public boolean apply(Game game, Ability source) {
        Player player = game.getPlayer(getTargetPointer().getFirst(game, source));
        if (player != null) {
            for (Permanent creature: game.getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), player.getId(), game)) {
                creature.tap(game);
                ContinuousEffect effect = new SkipNextUntapTargetEffect("This creature");
                effect.setTargetPointer(new FixedTarget(creature.getId()));
                game.addEffect(effect, source);
            }
            return true;
        }
        return false;
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
        // Whenever Kashi-Tribe Reaver deals combat damage to a creature, tap that creature and it doesn't untap during its controller's next untap step.
        Ability ability2;
        ability2 = new DealsDamageToACreatureTriggeredAbility(new TapTargetEffect("that creature"), true, false, true);
        ability2.addEffect(new SkipNextUntapTargetEffect("and it"));
        this.addAbility(ability2);
    }
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 controller's next untap step.
        this.getSpellAbility().addEffect(new TapTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(0, 2));
        this.getSpellAbility().addEffect(new SkipNextUntapTargetEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.toughness = new MageInt(2);

        // Whenever Kashi-Tribe Reaver 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);
        // {1}{G}: Regenerate Kashi-Tribe Reaver.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{1}{G}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.SkipNextUntapTargetEffect

        this.toughness = new MageInt(4);

        // Whenever Kashi-Tribe Reaver 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.toughness = new MageInt(1);

        // Whenever Orochi Ranger 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

        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
       
        // Whenever Matsu-Tribe Sniper deals damage to a creature, tap that creature and it doesn't untap during its controller's next untap step.
        ability = new DealsDamageToACreatureTriggeredAbility(new TapTargetEffect("that creature"), false, false, true);
        ability.addEffect(new SkipNextUntapTargetEffect("and it"));
        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.