Package mage.filter.common

Examples of mage.filter.common.FilterLandCard


        // Put a token that's a copy of target creature onto the battlefield.
        this.getSpellAbility().addEffect(new SpittingImageEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
       
        // Retrace
        this.addAbility(new RetraceAbility(new DiscardTargetCost(new TargetCardInHand(new FilterLandCard())), TimingRule.SORCERY));
       
    }
View Full Code Here


        this.toughness = new MageInt(4);

        // Play with the top card of your library revealed.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PlayWithTheTopCardRevealedEffect()));
        // You may play the top card of your library if it's a land card.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PlayTheTopCardEffect(new FilterLandCard())));
        // Whenever a land enters the battlefield under your control, you gain 1 life.
        this.addAbility(new EntersBattlefieldControlledTriggeredAbility(new GainLifeEffect(1), new FilterLandPermanent("a land")));
    }
View Full Code Here

        // Choose target creature. Put the top four cards of your library into your graveyard, then that creature gets -1/-1 until end of turn for each land card in your graveyard.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        Effect effect = new PutTopCardOfLibraryIntoGraveControllerEffect(4);
        effect.setText("Choose target creature. Put the top four cards of your library into your graveyard");
        this.getSpellAbility().addEffect(effect);
        DynamicValue landCards = new SignInversionDynamicValue(new CardsInControllerGraveyardCount(new FilterLandCard()));
        this.getSpellAbility().addEffect(new BoostTargetEffect(landCards, landCards, Duration.EndOfTurn));
    }
View Full Code Here

TOP

Related Classes of mage.filter.common.FilterLandCard

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.