mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Commander - Fixed commander mulligan select card to exile can't stop bug.
This commit is contained in:
parent
5bc1036ef9
commit
30cfe6193e
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ public abstract class GameCommanderImpl extends GameImpl {
|
||||||
Player player = getPlayer(playerId);
|
Player player = getPlayer(playerId);
|
||||||
TargetCardInHand target = new TargetCardInHand(1, player.getHand().size(), new FilterCard("card to mulligan"));
|
TargetCardInHand target = new TargetCardInHand(1, player.getHand().size(), new FilterCard("card to mulligan"));
|
||||||
target.setNotTarget(true);
|
target.setNotTarget(true);
|
||||||
//target.setRequired(true);
|
target.setRequired(false);
|
||||||
if(player.choose(Outcome.Exile, player.getHand(), target, this)){
|
if (player.choose(Outcome.Exile, player.getHand(), target, this)){
|
||||||
int numCards = target.getTargets().size();
|
int numCards = target.getTargets().size();
|
||||||
for(UUID uuid : target.getTargets()){
|
for(UUID uuid : target.getTargets()){
|
||||||
Card card = player.getHand().get(uuid, this);
|
Card card = player.getHand().get(uuid, this);
|
||||||
|
|
Loading…
Reference in a new issue