Examples of LookLibraryAndPickControllerEffect


Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.subtype.add("Arcane");
    this.color.setBlue(true);

        // Look at the top five cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand.
        // Put the rest on the bottom of your library in any order.
        this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(5), false, new StaticValue(1), filter, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.color.setBlue(true);
        this.color.setBlack(true);
        this.color.setGreen(true);

        // At the beginning of your upkeep, look at the top two cards of your library. Put any number of them into your graveyard and the rest on top of your library in any order.
        Effect effect = new LookLibraryAndPickControllerEffect(
                new StaticValue(2), false, new StaticValue(2), new FilterCard(), Zone.LIBRARY, true, false, true, Zone.GRAVEYARD, false);
        effect.setText("look at the top two cards of your library. Put any number of them into your graveyard and the rest on top of your library in any order");
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(effect, TargetController.YOU, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        // Delve
        this.addAbility(new DelveAbility());
       
        // Look at the top seven cards of your library. Put two of them into your hand and the rest on the bottom of your library in any order.
        this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(7), false, new StaticValue(2), new FilterCard(), Zone.LIBRARY, false, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.color.setBlue(true);

        // Prowl {U}
        this.addAbility(new ProwlAbility(this, "{U}"));
        // Look at the top four cards of your library. Put one of them into your hand and the rest on the bottom of your library in any order.
        this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(4), false, new StaticValue(1), new FilterCard(), Zone.LIBRARY, false, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.expansionSetCode = "JOU";

        this.color.setGreen(true);

        // Reveal the top six cards of your library. Put up to three enchantment cards from among them into your hand and the rest of the revealed cards into your graveyard.
        this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(6), false, new StaticValue(3), filter, Zone.GRAVEYARD, false, true, true,Zone.HAND, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        Ability ability = new LoyaltyAbility(new AjaniMentorOfHeroesAddCountersEffect(), 1);
        ability.addTarget(new TargetCreaturePermanentAmount(3, filter));
        this.addAbility(ability);
       
        // +1: Look at the top four cards of your library. You may reveal an Aura, creature, or planeswalker card from among them and put that card into your hand. Put the rest on the bottom of your library in any order.
        this.addAbility(new LoyaltyAbility(new LookLibraryAndPickControllerEffect(4,1, filterCard,true, false, Zone.HAND, true), 1));
       
        // -8: You gain 100 life.
        this.addAbility(new LoyaltyAbility(new GainLifeEffect(100), -8));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.color.setBlue(true);

        this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(5)), false));

        // +1: Look at the top two cards of your library. Put one of them into your graveyard.
        Effect effect = new LookLibraryAndPickControllerEffect(
                new StaticValue(2), false, new StaticValue(1), new FilterCard(), Zone.LIBRARY, true, false, false, Zone.GRAVEYARD, false);
        effect.setText("Look at the top two cards of your library. Put one of them into your graveyard");
        this.addAbility(new LoyaltyAbility(effect, 1));

        // -3: Return another target nonland permanent to its owner's hand.
        LoyaltyAbility ability = new LoyaltyAbility(new ReturnToHandTargetEffect(), -3);
        ability.addTarget(new TargetPermanent(filter));
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.expansionSetCode = "DGM";

        this.color.setBlue(true);

        // Look at the top four cards of your library. You may reveal up to two instant and/or sorcery cards from among them and put the revealed cards into your hand. Put the rest on the bottom of your library in any order.
        this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(4, 2, filter, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        this.expansionSetCode = "9ED";

        this.color.setBlue(true);

        // Look at the top two cards of your library. Put one of them into your hand and the other on the bottom of your library.
        this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(new StaticValue(2), false, new StaticValue(1), new FilterCard(), Zone.LIBRARY, false, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LookLibraryAndPickControllerEffect

        return true;
    }

    @Override
    public boolean replaceEvent(GameEvent event, Ability source, Game game) {
        new LookLibraryAndPickControllerEffect(new StaticValue(3), false, new StaticValue(1), new FilterCard(), Zone.LIBRARY, false, false)
                .apply(game, source);
        return true;
    }
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.