mirror of
https://github.com/correl/mage.git
synced 2024-11-28 19:19:55 +00:00
Removed debug command.
This commit is contained in:
parent
22c30a43f5
commit
b60cd3d40e
1 changed files with 6 additions and 7 deletions
|
@ -1413,7 +1413,6 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean chooseTarget(Outcome outcome, Cards cards, TargetCard target, Ability source, Game game) {
|
public boolean chooseTarget(Outcome outcome, Cards cards, TargetCard target, Ability source, Game game) {
|
||||||
log.debug("chooseTarget");
|
|
||||||
if (cards == null || cards.isEmpty()) {
|
if (cards == null || cards.isEmpty()) {
|
||||||
return target.isRequired(source);
|
return target.isRequired(source);
|
||||||
}
|
}
|
||||||
|
@ -1633,12 +1632,12 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Deck buildDeck(List<Card> cardPool, final List<ColoredManaSymbol> colors) {
|
public static Deck buildDeck(List<Card> cardPool, final List<ColoredManaSymbol> colors) {
|
||||||
return buildDeck(cardPool, colors, false);
|
return buildDeck(cardPool, colors, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Deck buildDeck(List<Card> cardPool, final List<ColoredManaSymbol> colors, boolean onlyBasicLands) {
|
public static Deck buildDeck(List<Card> cardPool, final List<ColoredManaSymbol> colors, boolean onlyBasicLands) {
|
||||||
if (onlyBasicLands) {
|
if (onlyBasicLands) {
|
||||||
return buildDeckWithOnlyBasicLands(cardPool);
|
return buildDeckWithOnlyBasicLands(cardPool);
|
||||||
} else {
|
} else {
|
||||||
return buildDeckWithNormalCards(cardPool, colors);
|
return buildDeckWithNormalCards(cardPool, colors);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue