Examples of PutTopCardOfLibraryIntoGraveControllerEffect


Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.toughness = new MageInt(3);

        // Reach
        this.addAbility(ReachAbility.getInstance());
        // At the beginning of your upkeep, put the top two cards of your library into your graveyard.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(2), TargetController.YOU, false));
        // {1}{B}{G}, Exile Nyx Weaver: Return target card from your graveyard to your hand.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnFromGraveyardToHandTargetEffect(), new ManaCostsImpl("{1}{B}{G}"));
        ability.addCost(new ExileSourceCost());
        ability.addTarget(new TargetCardInYourGraveyard());
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.color.setBlack(true);

        // Target opponent discards two cards. Put the top two cards of your library into your graveyard.
        this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
        this.getSpellAbility().addTarget(new TargetOpponent());
        Effect effect = new PutTopCardOfLibraryIntoGraveControllerEffect(2);
        effect.setText("Put the top two cards of your library into your graveyard");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.expansionSetCode = "JUD";

        this.color.setBlue(true);

        // Put the top two cards of your library into your graveyard.
        this.getSpellAbility().addEffect(new PutTopCardOfLibraryIntoGraveControllerEffect(2));
        // Draw a card.
        this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

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

        // When Armored Skaab enters the battlefield, put the top four cards of your library into your graveyard.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(4)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.addAbility(TrampleAbility.getInstance());
        // Splinterfright's power and toughness are each equal to the number of creature cards in your graveyard.
        CardsInControllerGraveyardCount count = new CardsInControllerGraveyardCount(new FilterCreatureCard("creature cards"));
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(count, Duration.EndOfGame)));
        // At the beginning of your upkeep, put the top two cards of your library into your graveyard.
        this.addAbility(new OnEventTriggeredAbility(EventType.UPKEEP_STEP_PRE, "beginning of your upkeep", new PutTopCardOfLibraryIntoGraveControllerEffect(2), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.color.setBlack(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(1);

        // When Necromancer's Assistant enters the battlefield, put the top three cards of your library into your graveyard.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(3)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

}

class SidisiBroodTyrantAbility extends TriggeredAbilityImpl {

    public SidisiBroodTyrantAbility() {
        super(Zone.BATTLEFIELD, new PutTopCardOfLibraryIntoGraveControllerEffect(3), false);
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.color.setBlack(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(2);

        // When Forsaken Drifters dies, put the top four cards of your library into your graveyard.
        this.addAbility(new DiesTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(4)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

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

        // Whenever Cephalid Illusionist becomes the target of a spell or ability, put the top three cards of your library into your graveyard.
        this.addAbility(new BecomesTargetTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(3)));
       
        // {2}{U}, {tap}: Prevent all combat damage that would be dealt to
        Effect effect = new PreventDamageToTargetEffect(Duration.EndOfTurn, true);
        effect.setText("Prevent all combat damage that would be dealt to");
        // and dealt by target creature you control this turn.
View Full Code Here

Examples of mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect

        this.color.setBlue(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(1);

        // When Screeching Skaab enters the battlefield, put the top two cards of your library into your graveyard.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(2)));
    }
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.