mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08:00
* Added tournament options for adjustable construction time and free mulligans
* Added duel options for free mulligans
This commit is contained in:
parent
fa5ddb23a2
commit
84df0f2c43
27 changed files with 558 additions and 402 deletions
|
|
@ -142,8 +142,8 @@ public class HumanPlayer extends PlayerImpl<HumanPlayer> {
|
|||
updateGameStatePriority("chooseMulligan", game);
|
||||
int nextHandSize = game.mulliganDownTo(playerId);
|
||||
game.fireAskPlayerEvent(playerId, new StringBuilder("Mulligan ")
|
||||
.append(getHand().size() > nextHandSize?"down":"")
|
||||
.append(" to ").append(nextHandSize)
|
||||
.append(getHand().size() > nextHandSize?"down to ":"for free, draw ")
|
||||
.append(nextHandSize)
|
||||
.append(nextHandSize == 1?" card?":" cards?").toString());
|
||||
waitForBooleanResponse();
|
||||
if (!abort) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue