Examples of SacrificeSourceCost


Examples of mage.abilities.costs.common.SacrificeSourceCost

    cardType.add(CardType.CREATURE);
    subtype.add("Eldrazi");
    subtype.add("Spawn");
    power = new MageInt(0);
    toughness = new MageInt(1);
    addAbility(new SimpleManaAbility(Zone.BATTLEFIELD, new ManaEffect(Mana.ColorlessMana), new SacrificeSourceCost()));
  }
View Full Code Here

Examples of mage.abilities.costs.common.SacrificeSourceCost

  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

Examples of mage.abilities.costs.common.SacrificeSourceCost

    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));
    this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.costs.common.SacrificeSourceCost

    this.color.setGreen(true);
    this.subtype.add("Boar");
    this.power = new MageInt(2);
    this.toughness = new MageInt(2);

    this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(4), new SacrificeSourceCost()));
  }
View Full Code Here

Examples of mage.abilities.costs.common.SacrificeSourceCost

  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");
    filter.getName().add("Forest");
    TargetCardInLibrary target = new TargetCardInLibrary(filter);
View Full Code Here

Examples of mage.abilities.costs.common.SacrificeSourceCost

class TerramorphicExpanseAbility extends ActivatedAbilityImpl<TerramorphicExpanseAbility> {

  public TerramorphicExpanseAbility() {
    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

Examples of mage.abilities.costs.common.SacrificeSourceCost

    this.color.setWhite(true);

    this.addAbility(new LandfallAbility(new AddCountersSourceEffect("quest", 1), true));
    Costs costs = new CostsImpl();
    costs.add(new RemoveCountersSourceCost("quest", 3));
    costs.add(new SacrificeSourceCost());
    ActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainLifeEffect(8), costs);
    this.addAbility(ability);
  }
View Full Code Here

Examples of mage.abilities.costs.common.SacrificeSourceCost

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

    Costs<Cost> costs = new CostsImpl();
    costs.add(new GenericManaCost(1));
    costs.add(new SacrificeSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), costs);
    ability.addTarget(new TargetCreatureOrPlayer());
    this.addAbility(ability);
  }
View Full Code Here

Examples of mage.abilities.costs.common.SacrificeSourceCost

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

Examples of mage.abilities.costs.common.SacrificeSourceCost

  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) {
      filter.getSubtype().add(subType);
    }
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.