Examples of LookLibraryControllerEffect


Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        this.color.setWhite(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(4);

        // {1}: Look at the top card of your library.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new LookLibraryControllerEffect(), new GenericManaCost(1)))

        // {2}: Reveal the top card of your library. If it's a land card, untap {this} and it gets +1/+1 until end of turn.
        Ability ability = new FeralDeceiverAbility(Zone.BATTLEFIELD, new UntapSourceEffect(), new ManaCostsImpl("{2}"));
        ability.addEffect(new BoostSourceEffect(1,1,Duration.EndOfTurn));
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        this.expansionSetCode = "TMP";

        this.color.setGreen(true);

        // At the beginning of your upkeep, you may look at the top three cards of your library, then put them back in any order.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new LookLibraryControllerEffect(3), TargetController.YOU, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        // {3}{U}{U}: Shuffle your library.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ShuffleLibrarySourceEffect(), new ManaCostsImpl<>("{3}{U}{U}")));
       
        // {X}: Look at the top X cards of your library, then put them back in any order.
        Effect effect = new LookLibraryControllerEffect(new ManacostVariableValue());
        effect.setText("Look at the top X cards of your library, then put them back in any order");
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl<>("X")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        super(ownerId, 137, "Halimar Depths", Rarity.COMMON, new CardType[]{CardType.LAND}, null);
        this.expansionSetCode = "WWK";
                // Halimar Depths enters the battlefield tapped.
                this.addAbility(new EntersBattlefieldTappedAbility());
                // When Halimar Depths enters the battlefield, look at the top three cards of your library, then put them back in any order.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LookLibraryControllerEffect(3)));
        this.addAbility(new BlueManaAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        this.expansionSetCode = "10E";
        this.color.setBlue(true);
                // Counter target spell. Look at the top four cards of your library, then put them back in any order.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterTargetEffect());
                this.getSpellAbility().addEffect(new LookLibraryControllerEffect(4));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        // Islandwalk
        this.addAbility(new IslandwalkAbility());

        // When Inkfathom Divers enters the battlefield, look at the top four cards of your library, then put them back in any order.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LookLibraryControllerEffect(4)));

    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        this.color.setGreen(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(2);

        // {1}: Look at the top card of your library.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new LookLibraryControllerEffect(), new GenericManaCost(1)))

        // {2}: Reveal the top card of your library. If it's a land card, {this} gets +2/+2 and gains trample until end of turn.
        Ability ability = new FeralDeceiverAbility(Zone.BATTLEFIELD, new BoostSourceEffect(2,2,Duration.EndOfTurn), new ManaCostsImpl("{2}"));
        ability.addEffect(new GainAbilitySourceEffect(TrampleAbility.getInstance(),Duration.EndOfTurn));
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

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

        this.addAbility(FlyingAbility.getInstance());
        // When Sage Owl enters the battlefield, look at the top four cards of your library, then put them back in any order.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new LookLibraryControllerEffect(4)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        super(ownerId, 25, "Index", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{U}");
        this.expansionSetCode = "APC";
        this.color.setBlue(true);

        // Look at the top five cards of your library, then put them back in any order.
        this.getSpellAbility().addEffect(new LookLibraryControllerEffect(5));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryControllerEffect

        this.subtype.add("Wizard");
        this.color.setBlue(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(3);
        // {1}{U}: Look at the top X cards of your library, where X is the number of cards in your hand, then put them back in any order.
        Effect effect = new LookLibraryControllerEffect(new CardsInControllerHandCount());
        effect.setText("Look at the top X cards of your library, where X is the number of cards in your hand, then put them back in any order");
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
                effect, new ManaCostsImpl("{1}{U}")));
    }
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.