Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.TapTargetEffect


        this.expansionSetCode = "M12";

        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


    public ScepterOfDominance(UUID ownerId) {
        super(ownerId, 17, "Scepter of Dominance", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{1}{W}{W}");
        this.expansionSetCode = "CON";
        this.color.setWhite(true);

        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ManaCostsImpl("{W}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetPermanent());
        this.addAbility(ability);
    }
View Full Code Here

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

        // Metalcraft - {T}: Tap target artifact, creature, or land. Activate this ability only if you control three or more artifacts.
        Ability ability = new ActivateIfConditionActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new TapSourceCost(), MetalcraftCondition.getInstance());
        ability.setAbilityWord(AbilityWord.METALCRAFT);
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

}

class AngelicBenedictionTriggeredAbility extends TriggeredAbilityImpl {

    public AngelicBenedictionTriggeredAbility() {
        super(Zone.BATTLEFIELD, new TapTargetEffect(), true);
        this.addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

        this.power = new MageInt(3);
        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

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

        // Whenever another white creature enters the battlefield under your control, tap target creature an opponent controls.
        Ability ability = new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, new TapTargetEffect(),filter,false,null, true);
        ability.addTarget(new TargetCreaturePermanent(filterOpponentCreature));
        this.addAbility(ability);
    }
View Full Code Here

        this.power = new MageInt(2);
        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

        this.color.setWhite(true);

        // Tap up to three target creatures.
        Target target = new TargetCreaturePermanent(0,3);
    target.setTargetName("up to three");
        this.getSpellAbility().addEffect(new TapTargetEffect());
        this.getSpellAbility().addTarget(target);
    }
View Full Code Here

        this.power = new MageInt(2);
        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

        this.subtype.add("Human");
        this.subtype.add("Soldier");
        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ColoredManaCost(ColoredManaSymbol.W));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.TapTargetEffect

Copyright © 2018 www.massapicom. 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.