Bugfix for fixing deck size. Basic lands weren't put into the CardCounts hashmap.

This commit is contained in:
jendave
2011-08-06 09:07:41 +00:00
parent b6ab6954d8
commit 442f697ba7

View File

@@ -212,6 +212,7 @@ public class GenerateThemeDeck
int nLand = (int)((float)numBLands * p);
tmpDeck += "numLand-" + ClrCnts[i].Color + ":" + nLand + "\n";
CardCounts.put(ClrCnts[i].Color, 2);
for (int j=0; j<nLand; j++)
tDeck.add(AllZone.CardFactory.getCard(ClrCnts[i].Color, Constant.Player.Computer));
}