mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Cleanup SearchLibraryPutOnLibraryEffect, part 2
This commit is contained in:
parent
a4616bc7ee
commit
6de43dc06e
5 changed files with 4 additions and 9 deletions
|
@ -30,7 +30,7 @@ public final class BibFortuna extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// When Bib Fortuna enters the battlefield search your library for a card then shuffle your library and put in on top. You lose 1 life.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), false);
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(), false), false);
|
||||
ability.addEffect(new LoseLifeSourceControllerEffect(1));
|
||||
this.addAbility(ability);
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class BringerOfTheBlackDawn extends CardImpl {
|
|||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
// At the beginning of your upkeep, you may pay 2 life. If you do, search your library for a card, then shuffle your library and put that card on top of it.
|
||||
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DoIfCostPaid(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), new PayLifeCost(2)), TargetController.YOU, false);
|
||||
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DoIfCostPaid(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(), false), new PayLifeCost(2)), TargetController.YOU, false);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ public final class ImperialSeal extends CardImpl {
|
|||
|
||||
|
||||
// Search your library for a card, then shuffle your library and put that card on top of it. You lose 2 life.
|
||||
this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()));
|
||||
this.getSpellAbility().addEffect(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(), false));
|
||||
this.getSpellAbility().addEffect(new LoseLifeSourceControllerEffect(2));
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ public final class LilianaVess extends CardImpl {
|
|||
this.addAbility(ability1);
|
||||
|
||||
// -2: Search your library for a card, then shuffle your library and put that card on top of it.
|
||||
this.addAbility(new LoyaltyAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), -2));
|
||||
this.addAbility(new LoyaltyAbility(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary(), false), -2));
|
||||
|
||||
// -8: Put all creature cards from all graveyards onto the battlefield under your control.
|
||||
this.addAbility(new LoyaltyAbility(new LilianaVessEffect(), -8));
|
||||
|
|
|
@ -19,11 +19,6 @@ public class SearchLibraryPutOnLibraryEffect extends SearchEffect {
|
|||
|
||||
private boolean reveal;
|
||||
|
||||
public SearchLibraryPutOnLibraryEffect(TargetCardInLibrary target) {
|
||||
this(target, false);
|
||||
setText();
|
||||
}
|
||||
|
||||
public SearchLibraryPutOnLibraryEffect(TargetCardInLibrary target, boolean reveal) {
|
||||
super(target, Outcome.DrawCard);
|
||||
this.reveal = reveal;
|
||||
|
|
Loading…
Reference in a new issue