mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
text update: "of their choice" of the top or bottom
This commit is contained in:
parent
6f43e76c9e
commit
ab81e45cc9
3 changed files with 3 additions and 12 deletions
|
|
@ -37,7 +37,7 @@ public final class AetherGust extends CardImpl {
|
|||
// Choose target spell or permanent that's red or green. Its owner puts it on the top or bottom of their library.
|
||||
this.getSpellAbility().addEffect(new PutOnTopOrBottomLibraryTargetEffect(true).setText(
|
||||
"choose target spell or permanent that's red or green. " +
|
||||
"Its owner puts it on the top or bottom of their library"
|
||||
"Its owner puts it on their choice of the top or bottom of their library"
|
||||
));
|
||||
this.getSpellAbility().addTarget(new TargetSpellOrPermanent(filter));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public final class UnchartedVoyage extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}");
|
||||
|
||||
// Target creature's owner puts it on their choice of the top or bottom of their library.
|
||||
this.getSpellAbility().addEffect(new PutOnTopOrBottomLibraryTargetEffect(false, true));
|
||||
this.getSpellAbility().addEffect(new PutOnTopOrBottomLibraryTargetEffect(false));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// Surveil 1.
|
||||
|
|
|
|||
|
|
@ -13,24 +13,15 @@ import mage.players.Player;
|
|||
public class PutOnTopOrBottomLibraryTargetEffect extends OneShotEffect {
|
||||
|
||||
private final boolean textOwnerOf;
|
||||
private final boolean textTheirChoice;
|
||||
|
||||
public PutOnTopOrBottomLibraryTargetEffect(boolean textOwnerOf) {
|
||||
super(Outcome.ReturnToHand);
|
||||
this.textOwnerOf = textOwnerOf;
|
||||
this.textTheirChoice = false;
|
||||
}
|
||||
|
||||
public PutOnTopOrBottomLibraryTargetEffect(boolean textOwnerOf, boolean textTheirChoice) {
|
||||
super(Outcome.ReturnToHand);
|
||||
this.textOwnerOf = textOwnerOf;
|
||||
this.textTheirChoice = textTheirChoice;
|
||||
}
|
||||
|
||||
private PutOnTopOrBottomLibraryTargetEffect(final PutOnTopOrBottomLibraryTargetEffect effect) {
|
||||
super(effect);
|
||||
this.textOwnerOf = effect.textOwnerOf;
|
||||
this.textTheirChoice = effect.textTheirChoice;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -58,6 +49,6 @@ public class PutOnTopOrBottomLibraryTargetEffect extends OneShotEffect {
|
|||
}
|
||||
String targetText = getTargetPointer().describeTargets(mode.getTargets(), "that permanent");
|
||||
return (textOwnerOf ? "the owner of " + targetText : targetText + "'s owner") +
|
||||
" puts it on " + (textTheirChoice ? "their choice of " : "") + "the top or bottom of their library";
|
||||
" puts it on their choice of the top or bottom of their library";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue