Package mage.abilities.common

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


    this.subtype.add("Shapeshifter");
    this.power = new MageInt(0);
    this.toughness = new MageInt(0);

    Ability ability = new EntersBattlefieldAbility(new CopyEffect(), "You may have Clone enter the battlefield as a copy of any creature on the battlefield");
    ability.addTarget(new TargetCreaturePermanent());
    this.addAbility(ability);
  }

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


        Ability ability = new EntersBattlefieldAbility(new QuicksilverGargantuanCopyEffect(),
                "You may have {this} enter the battlefield as a copy of any creature on the battlefield, except it's still 7/7");
        Target target = new TargetCreaturePermanent();
        target.setNotTarget(true);
        ability.addTarget(target);
        this.addAbility(ability);
    }

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

        this.addAbility(new VanishingUpkeepAbility(3));
        this.addAbility(new VanishingSacrificeAbility());
        // When Deadwood Treefolk enters the battlefield or leaves the battlefield, return another target creature card from your graveyard to your hand.
        ability = new EntersBattlefieldOrDiesSourceTriggeredAbility(new ReturnFromGraveyardToHandTargetEffect(), false);
        Target target = new TargetCardInYourGraveyard(filter);
        ability.addTarget(target);
        this.addAbility(ability);
    }

    public DeadwoodTreefolk(final DeadwoodTreefolk 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.