Package mage.abilities.common

Examples of mage.abilities.common.SimpleActivatedAbility.addTarget()


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

    this.addAbility(FlyingAbility.getInstance());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new VengefulArchonEffect(), new ManaCostsImpl("{X}"));
    ability.addTarget(new TargetPlayer());
    this.addAbility(ability);
  }

  public VengefulArchon(final VengefulArchon card) {
    super(card);
View Full Code Here


    this.subtype.add("Elemental");
    this.power = new MageInt(4);
    this.toughness = new MageInt(3);
    this.addAbility(FlyingAbility.getInstance());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ManaCostsImpl("{2}{U}"));
    ability.addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(ability);
  }

  public AirServant(final AirServant card) {
    super(card);
View Full Code Here

    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);
  }

  public MerfolkSovereign(final MerfolkSovereign card) {
    super(card);
View Full Code Here

    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);
  }

  public BlindingMage(final BlindingMage card) {
    super(card);
View Full Code Here

    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);
  }

  public TectonicEdge(final TectonicEdge card) {
View Full Code Here

    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);
  }

  public MystifyingMaze(final MystifyingMaze card) {
    super(card);
View Full Code Here

    this.expansionSetCode = "M11";
    Costs costs = new CostsImpl();
    costs.add(new GenericManaCost(1));
    costs.add(new TapSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), costs);
    ability.addTarget(new TargetPermanent(filter));
    this.addAbility(ability);
  }

  public VoltaicKey(final VoltaicKey card) {
    super(card);
View Full Code Here

    this.color.setGreen(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new UntapTargetEffect(), new TapSourceCost());
    TargetLandPermanent target = new TargetLandPermanent(filter);
    ability.addTarget(target);
    this.addAbility(ability);
  }

  public ArborElf(final ArborElf card) {
    super(card);
View Full Code Here

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

    this.addAbility(new EntersBattlefieldAbility(new AddPlusOneCountersSourceEffect(3), "with three +1/+1 counters on it"));
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new RemoveCountersSourceCost("+1/+1", 1));
    ability.addTarget(new TargetCreatureOrPlayer());
    this.addAbility(ability);
  }

  public Triskelion(final Triskelion card) {
    super(card);
View Full Code Here

    this.color.setBlue(true);
    this.subtype.add("Siren");
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AlluringSirenEffect(), new TapSourceCost());
    ability.addTarget(new TargetCreaturePermanent(filter));
    this.addAbility(ability);
  }

  public AlluringSiren(final AlluringSiren card) {
    super(card);
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.