mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed theme decks being affected by Singleton mode.
This commit is contained in:
@@ -48,7 +48,7 @@ import forge.util.closures.Predicate;
|
|||||||
public abstract class GenerateColoredDeckBase {
|
public abstract class GenerateColoredDeckBase {
|
||||||
protected final Random r = MyRandom.getRandom();
|
protected final Random r = MyRandom.getRandom();
|
||||||
protected final Map<String, Integer> cardCounts = new HashMap<String, Integer>();
|
protected final Map<String, Integer> cardCounts = new HashMap<String, Integer>();
|
||||||
protected final int maxDuplicates;
|
protected int maxDuplicates;
|
||||||
|
|
||||||
protected CardColor colors;
|
protected CardColor colors;
|
||||||
protected final ItemPool<CardPrinted> tDeck;
|
protected final ItemPool<CardPrinted> tDeck;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ public class GenerateThemeDeck extends GenerateColoredDeckBase {
|
|||||||
* </p>
|
* </p>
|
||||||
*/
|
*/
|
||||||
public GenerateThemeDeck() {
|
public GenerateThemeDeck() {
|
||||||
|
this.maxDuplicates = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user