mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
*Draft - Non hidden picked cards go to the deck. Hidden cards to sideboard.
This commit is contained in:
parent
b0238b402e
commit
c22b54d262
13 changed files with 53 additions and 22 deletions
|
|
@ -1716,10 +1716,10 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
}
|
||||
}
|
||||
log.debug("[DEBUG] AI picked: " + bestCard.getName() + ", score=" + maxScore + ", deck colors=" + colors);
|
||||
draft.addPick(playerId, bestCard.getId());
|
||||
draft.addPick(playerId, bestCard.getId(), null);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
draft.addPick(playerId, cards.get(0).getId());
|
||||
draft.addPick(playerId, cards.get(0).getId(), null);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue