mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added Evolving Wilds and Terramorphic Expanse to randomly generated decks with three or more colors.
- Added Rupture Spire and Undiscovered Paradise to randomly generated decks with four or more colors.
This commit is contained in:
@@ -10,10 +10,10 @@ import java.util.Map;
|
|||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Generate2ColorDeck class.</p>
|
* <p>GenerateDeckUtil class.</p>
|
||||||
*
|
*
|
||||||
* @author Forge
|
* @author Forge
|
||||||
* @version $Id: Generate2ColorDeck.java 10011 2011-08-28 12:20:52Z Sloth $
|
* @version $Id: GenerateDeckUtil.java 10011 2011-08-28 12:20:52Z Sloth $
|
||||||
*/
|
*/
|
||||||
public class GenerateDeckUtil {
|
public class GenerateDeckUtil {
|
||||||
|
|
||||||
@@ -22,6 +22,16 @@ public class GenerateDeckUtil {
|
|||||||
|
|
||||||
ArrayList<String> DLands = new ArrayList<String>();
|
ArrayList<String> DLands = new ArrayList<String>();
|
||||||
|
|
||||||
|
if (colors.length() > 3) {
|
||||||
|
DLands.add("Rupture Spire");
|
||||||
|
DLands.add("Undiscovered Paradise");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (colors.length() > 2) {
|
||||||
|
DLands.add("Evolving Wilds");
|
||||||
|
DLands.add("Terramorphic Expanse");
|
||||||
|
}
|
||||||
|
|
||||||
if (colors.contains("W") && colors.contains("U")) {
|
if (colors.contains("W") && colors.contains("U")) {
|
||||||
DLands.add("Tundra");
|
DLands.add("Tundra");
|
||||||
DLands.add("Hallowed Fountain");
|
DLands.add("Hallowed Fountain");
|
||||||
|
|||||||
Reference in New Issue
Block a user