mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
* UI: improved mulligan dialog with color, added free mulligan info in game log;
This commit is contained in:
parent
bf2861c309
commit
83d8f5a538
2 changed files with 16 additions and 10 deletions
|
|
@ -1,11 +1,5 @@
|
|||
|
||||
package mage.game.match;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.cards.decks.Deck;
|
||||
import mage.game.Game;
|
||||
import mage.game.GameException;
|
||||
|
|
@ -21,8 +15,9 @@ import mage.util.DateFormat;
|
|||
import mage.util.RandomUtil;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public abstract class MatchImpl implements Match {
|
||||
|
|
@ -421,6 +416,7 @@ public abstract class MatchImpl implements Match {
|
|||
if (options.getRange() != null) {
|
||||
sb.append(" Range: ").append(options.getRange().toString()).append("<br/>");
|
||||
}
|
||||
sb.append(" Free mulligans: ").append(options.getFreeMulligans()).append("<br/>");
|
||||
sb.append("<br/>").append("Match is ").append(this.getOptions().isRated() ? "" : "not ").append("rated<br/>");
|
||||
sb.append("You have to win ").append(this.getWinsNeeded()).append(this.getWinsNeeded() == 1 ? " game" : " games").append(" to win the complete match<br/>");
|
||||
sb.append("<br/>Game has started<br/><br/>");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue