Package mage.filter.common

Examples of mage.filter.common.FilterControlledLandPermanent


        // Trample
        this.addAbility(TrampleAbility.getInstance());
        // Polar Kraken enters the battlefield tapped.
        this.addAbility(new EntersBattlefieldTappedAbility());
        // Cumulative upkeep-Sacrifice a land.
        this.addAbility(new CumulativeUpkeepAbility(new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledLandPermanent()))));
    }
View Full Code Here


        effect.setText(", discards X cards");
        this.getSpellAbility().addEffect(effect);
        effect = new SacrificeAllEffect(xValue, new FilterControlledCreaturePermanent("creatures"));
        effect.setText(", sacrifices X creatures");
        this.getSpellAbility().addEffect(effect);
        effect = new SacrificeAllEffect(xValue, new FilterControlledLandPermanent("lands"));
        effect.setText("then sacrifices X lands");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

        this.getSpellAbility().getModes().setMaxModes(1);
        // Untap all lands you control;
        this.getSpellAbility().addEffect(new UntapAllLandsControllerEffect());
        // or until end of turn, lands you control become 2/2 creatures that are still lands.
        Mode mode = new Mode();
        mode.getEffects().add(new BecomesCreatureAllEffect(new RudeAwakeningToken(), "lands", new FilterControlledLandPermanent("lands you control"), Duration.EndOfTurn));
        this.getSpellAbility().getModes().addMode(mode);

        // Entwine {2}{G}
        this.addAbility(new EntwineAbility("{2}{G}"));
    }
View Full Code Here

TOP

Related Classes of mage.filter.common.FilterControlledLandPermanent

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.