From fea6b0633aedd8d4191653d121d1f95031066d4d Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 19 Sep 2013 17:04:12 +0200 Subject: [PATCH] * Deck generator - Fixed a bug that the selection of mana lands did favor the overall most needed land too much. --- Mage.Common/src/mage/utils/DeckBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Common/src/mage/utils/DeckBuilder.java b/Mage.Common/src/mage/utils/DeckBuilder.java index d56ba3aa33..be56560a32 100644 --- a/Mage.Common/src/mage/utils/DeckBuilder.java +++ b/Mage.Common/src/mage/utils/DeckBuilder.java @@ -25,7 +25,7 @@ public class DeckBuilder { private static final int DECK_COUNT60[] = {4, 9, 9, 5, 5, 3}; private static final int DECK_COST[] = {1, 2, 3, 4, 6, 10}; private static final int MIN_CARD_SCORE = 25; - private static final int MIN_SOURCE = 16; + private static final int MIN_SOURCE = 3; // minmal number of sources for a mana color, will be taken also if ratio would give a lower number private static Deck deck = new Deck(); private static int deckCount[];