- 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:
Sloth
2011-08-29 20:15:13 +00:00
parent 57541ab2b6
commit c2907ea165

View File

@@ -10,10 +10,10 @@ import java.util.Map;
import java.util.Random;
/**
* <p>Generate2ColorDeck class.</p>
* <p>GenerateDeckUtil class.</p>
*
* @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 {
@@ -22,6 +22,16 @@ public class GenerateDeckUtil {
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")) {
DLands.add("Tundra");
DLands.add("Hallowed Fountain");