Package mage.target.common

Examples of mage.target.common.TargetNonlandPermanent


  public MaelstromPulse(UUID ownerId) {
    super(ownerId, 92, "Maelstrom Pulse", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{1}{B}{G}");
    this.expansionSetCode = "ARB";
    this.color.setBlack(true);
    this.color.setGreen(true);
    this.getSpellAbility().addTarget(new TargetNonlandPermanent());
    this.getSpellAbility().addEffect(new DestroyAllNamedPermanentsEffect());
  }
View Full Code Here


        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new DrawCardSourceControllerEffect(1),
                KickedCondition.getInstance(),
                "If {this} was kicked, draw a card"));
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());
    }
View Full Code Here

        this.expansionSetCode = "DDF";

        this.color.setBlue(true);

        // Return target nonland permanent and all other permanents with the same name as that permanent to their owners' hands.
        Target target = new TargetNonlandPermanent();
        this.getSpellAbility().addTarget(target);
        this.getSpellAbility().addEffect(new ReturnToHandAllNamedPermanentsEffect());
    }
View Full Code Here

class HighPriestOfPenanceTriggeredAbility extends TriggeredAbilityImpl {


    public HighPriestOfPenanceTriggeredAbility() {
        super(Zone.BATTLEFIELD, new DestroyTargetEffect(), true);
        this.addTarget(new TargetNonlandPermanent());
    }
View Full Code Here

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Nevermaker leaves the battlefield, put target nonland permanent on top of its owner's library.
        Ability ability = new LeavesBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(true), false);
        Target target = new TargetNonlandPermanent();
        ability.addTarget(target);
        this.addAbility(ability);

        // Evoke {3}{U}
        this.addAbility(new EvokeAbility(this, "{3}{U}"));
View Full Code Here

        // Delve
        this.addAbility(new DelveAbility());
        // Put target nonland permanent on top of its owner's library
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());
    }
View Full Code Here

        this.color.setBlue(true);

        // Until end of turn, target creature gains "{T}: Return target nonland permanent to its owner's hand."
        Ability gainedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnToHandTargetEffect(), new TapSourceCost());
        Target target = new TargetNonlandPermanent();
        gainedAbility.addTarget(target);
        Effect effect = new GainAbilityTargetEffect(gainedAbility, Duration.EndOfTurn);
        effect.setText("Until end of turn, target creature gains \"{T}: Return target nonland permanent to its owner's hand.\"");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
View Full Code Here

        this.color.setBlue(true);

        // Put target nonland permanent on top of its owner's library.
        this.getSpellAbility().addEffect(new PutOnLibraryTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());

        // Miracle {U}
        this.addAbility(new MiracleAbility(this, new ManaCostsImpl("{U}")));
    }
View Full Code Here

        this.color.setWhite(true);

        // The owner of target nonland permanent shuffles it into his or her library, then draws two cards.
        this.getSpellAbility().addEffect(new OblationEffect());
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());
    }
View Full Code Here

        this.color.setBlue(true);

        // Return target nonland permanent to its owner's hand. Then that permanent's controller may sacrifice a land. If the player does, he or she may copy this spell and may choose a new target for that copy.
        this.getSpellAbility().addEffect(new ChainOfVaporEffect());
        this.getSpellAbility().addTarget(new TargetNonlandPermanent());
    }
View Full Code Here

TOP

Related Classes of mage.target.common.TargetNonlandPermanent

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.