mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
* Vivien's Arkbow - fixed that it can't choose cards to put it on battlefield (#6225);
This commit is contained in:
parent
9deaa4c227
commit
0d981a8528
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ import mage.filter.predicate.mageobject.ConvertedManaCostPredicate;
|
|||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.target.TargetCard;
|
||||
import mage.target.common.TargetCardInHand;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
@ -77,7 +77,7 @@ class ViviensArkbowEffect extends OneShotEffect {
|
|||
|
||||
FilterCard filter = new FilterCreatureCard("creature card with converted mana cost " + xValue + " or less");
|
||||
filter.add(new ConvertedManaCostPredicate(ComparisonType.FEWER_THAN, xValue + 1));
|
||||
TargetCard target = new TargetCardInHand(0, 1, filter);
|
||||
TargetCard target = new TargetCardInLibrary(0, 1, filter);
|
||||
|
||||
if (player.choose(outcome, cards, target, game)) {
|
||||
Card card = game.getCard(target.getFirstTarget());
|
||||
|
|
Loading…
Reference in a new issue