Package mage.abilities.costs.common

Examples of mage.abilities.costs.common.TapSourceCost


        this.color.setRed(true);
        this.power = new MageInt(2);
  this.toughness = new MageInt(2);
        this.addAbility(HasteAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(token), new ManaCostsImpl("{R}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here


    this.color.setGreen(true);
    this.power = new MageInt(3);
    this.toughness = new MageInt(3);

    this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new CreateTokenEffect(wolfToken)));
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MasterOfTheWildHuntEffect(), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

  public BrittleEffigy(UUID ownerId) {
    super(ownerId, 202, "Brittle Effigy", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{1}");
    this.expansionSetCode = "M11";
    Costs costs = new CostsImpl();
    costs.add(new GenericManaCost(4));
    costs.add(new TapSourceCost());
    costs.add(new ExileSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), costs);
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }
View Full Code Here

        this.subtype.add("Human");
        this.subtype.add("Assassin");
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setBlue(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        this.addAbility(FlyingAbility.getInstance());
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{B}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetControlledPermanent(filter));
        this.addAbility(ability);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{2}{U}")));
    }
View Full Code Here

        super(ownerId, 33, "Scepter of Insight", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{1}{U}{U}");
        this.expansionSetCode = "CON";
        this.color.setBlue(true);

        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardControllerEffect(1), new ManaCostsImpl("{3}{U}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

class EvolvingWildsAbility extends ActivatedAbilityImpl<EvolvingWildsAbility> {

  public EvolvingWildsAbility() {
    super(Zone.BATTLEFIELD, null);
    addCost(new TapSourceCost());
    addCost(new SacrificeSourceCost());
    TargetCardInLibrary target = new TargetCardInLibrary(new FilterBasicLandCard());
    addEffect(new SearchLibraryPutInPlayEffect(target, true, Outcome.PutLandInPlay));
  }
View Full Code Here

    this.subtype.add("Rogue");
    this.color.setRed(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(UnblockableAbility.getInstance(), Duration.EndOfTurn), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(ability);
  }
View Full Code Here

*/
public class FetchLandActivatedAbility extends ActivatedAbilityImpl<FetchLandActivatedAbility> {

  public FetchLandActivatedAbility(String[] subTypes) {
    super(Zone.BATTLEFIELD, null);
    addCost(new TapSourceCost());
    addCost(new PayLifeCost(1));
    addCost(new SacrificeSourceCost());
    FilterCard filter = new FilterCard(subTypeNames(subTypes));
    filter.getCardType().add(CardType.LAND);
    for (String subType: subTypes) {
View Full Code Here

        this.expansionSetCode = "TMP";
        // {3}, {tap}: Put an elixir counter on Essence Bottle.
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new AddCountersSourceEffect(CounterType.ELIXIR.createInstance()),
                new GenericManaCost(3));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
        // {tap}, Remove all elixir counters from Essence Bottle: You gain 2 life for each elixir counter removed this way.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new EssenceBottleEffect(), new TapSourceCost());
        ability.addCost(new EssenceBottleCost());
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.costs.common.TapSourceCost

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.