Package mage.abilities.costs.common

Examples of mage.abilities.costs.common.TapSourceCost


* @author BetaSteward_at_googlemail.com
*/
public abstract class BasicManaAbility<T extends BasicManaAbility<T>> extends ManaAbility<T> {

  public BasicManaAbility(ManaEffect effect) {
    super(Zone.BATTLEFIELD, effect, new TapSourceCost());
  }
View Full Code Here


class GargoyleCastleAbility extends ActivatedAbilityImpl<GargoyleCastleAbility> {

  public GargoyleCastleAbility() {
    super(Zone.BATTLEFIELD, null);
    addCost(new TapSourceCost());
    addCost(new GenericManaCost(5));
    addCost(new SacrificeSourceCost());
    addEffect(new CreateTokenEffect(new GargoyleToken()));
  }
View Full Code Here

  }

  class ElvishArchdruidAbility extends ManaAbility<ElvishArchdruidAbility> {

    public ElvishArchdruidAbility() {
      super(Zone.BATTLEFIELD, new ElvishArchdruidEffect(), new TapSourceCost());
    }
View Full Code Here

    this.expansionSetCode = "M11";
    this.subtype.add("Construct");
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);

    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddPlusOneCountersControlledEffect(1, filter), new TapSourceCost()));
  }
View Full Code Here

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

    this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter1, true)));
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilityTargetEffect(UnblockableAbility.getInstance(), Duration.EndOfTurn), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter2));
    this.addAbility(ability);
  }
View Full Code Here

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

  public ElixirOfImmortality(UUID ownerId) {
    super(ownerId, 206, "Elixir of Immortality", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{1}");
    this.expansionSetCode = "M11";
    Costs costs = new CostsImpl();
    costs.add(new GenericManaCost(2));
    costs.add(new TapSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(5), costs);
    ability.addEffect(new ElixerOfImmortalityEffect());
    this.addAbility(ability);
  }
View Full Code Here

  public TectonicEdge(UUID ownerId) {
    super(ownerId, 145, "Tectonic Edge", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, null);
    this.expansionSetCode = "WWK";
    this.addAbility(new ColorlessManaAbility());
    Costs costs = new CostsImpl();
    costs.add(new TapSourceCost());
    costs.add(new SacrificeSourceCost());
    costs.add(new TectonicEdgeCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), costs);
    ability.addTarget(new TargetNonBasicLandPermanent());
    ability.addManaCost(new GenericManaCost(1));
View Full Code Here

  public MystifyingMaze(UUID ownerId) {
    super(ownerId, 226, "Mystifying Maze", Rarity.RARE, new CardType[]{CardType.LAND}, null);
    this.expansionSetCode = "M11";
    this.addAbility(new ColorlessManaAbility());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new MystifyingMazeEffect(), new ManaCostsImpl("{4}"));
    ability.addCost(new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(ability);
  }
View Full Code Here

class JundPanoramaAbility extends ActivatedAbilityImpl<JundPanoramaAbility> {

  public JundPanoramaAbility() {
    super(Zone.BATTLEFIELD, null);
    addCost(new TapSourceCost());
    addCost(new GenericManaCost(1));
    addCost(new SacrificeSourceCost());
    FilterCard filter = new FilterCard("Swamp, Mountain, or Forest");
    filter.getName().add("Swamp");
    filter.getName().add("Mountain");
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.