mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
fix regression on The End
This commit is contained in:
parent
aeb9c514d8
commit
122df0d6fb
2 changed files with 5 additions and 5 deletions
|
|
@ -14,8 +14,7 @@ import mage.players.Player;
|
|||
public class ExileTargetAndSearchGraveyardHandLibraryEffect extends SearchTargetGraveyardHandLibraryForCardNameAndExileEffect {
|
||||
|
||||
public ExileTargetAndSearchGraveyardHandLibraryEffect(boolean graveyardExileOptional, String searchWhatText, String searchForText) {
|
||||
super(graveyardExileOptional, searchWhatText, searchForText);
|
||||
this.staticText = ""; // since parent class overrides static text but we need to use a target
|
||||
this(graveyardExileOptional, searchWhatText, searchForText, false);
|
||||
}
|
||||
|
||||
public ExileTargetAndSearchGraveyardHandLibraryEffect(boolean graveyardExileOptional, String searchWhatText, String searchForText, boolean drawForEachHandCard) {
|
||||
|
|
@ -50,6 +49,7 @@ public class ExileTargetAndSearchGraveyardHandLibraryEffect extends SearchTarget
|
|||
return staticText;
|
||||
}
|
||||
return "exile " + getTargetPointer().describeTargets(mode.getTargets(), "that permanent")
|
||||
+ ". Search " + searchWhatText + " graveyard, hand, and library for " + searchForText + " and exile them. Then that player shuffles";
|
||||
+ ". Search " + searchWhatText + " graveyard, hand, and library for " + searchForText + " and exile them. "
|
||||
+ (drawForEachHandCard ? "That player shuffles, then draws a card for each card exiled from their hand this way" : "Then that player shuffles");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue