mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
fixed Vivien Reid's first ability not putting cards back in a random order
This commit is contained in:
parent
711c34b34f
commit
d8a3a408df
2 changed files with 7 additions and 2 deletions
|
@ -14,6 +14,7 @@ import mage.constants.SuperType;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
|
@ -56,8 +57,11 @@ public final class VivienReid extends CardImpl {
|
|||
// +1: Look at the top four cards of your library. You may reveal a creature or land card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
|
||||
this.addAbility(new LoyaltyAbility(
|
||||
new LookLibraryAndPickControllerEffect(
|
||||
new StaticValue(4), false, new StaticValue(1), filter, false
|
||||
), 1
|
||||
new StaticValue(4), false, new StaticValue(1), filter,
|
||||
Zone.LIBRARY, false, true, false, Zone.HAND, true, false, false)
|
||||
.setBackInRandomOrder(true)
|
||||
.setText("Look at the top four cards of your library. You may reveal a creature or land card from among them"
|
||||
+ " and put it into your hand. Put the rest on the bottom of your library in a random order."), 1
|
||||
));
|
||||
|
||||
// -3: Destroy target artifact, enchantment, or creature with flying.
|
||||
|
|
|
@ -61,6 +61,7 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
|
|||
private boolean putOnTopSelected;
|
||||
private boolean anyOrder;
|
||||
|
||||
//TODO: These constructors are a mess
|
||||
public LookLibraryAndPickControllerEffect(DynamicValue numberOfCards,
|
||||
boolean mayShuffleAfter, DynamicValue numberToPick,
|
||||
FilterCard pickFilter, boolean putOnTop) {
|
||||
|
|
Loading…
Reference in a new issue