Added set and picture info for the added lands.

This commit is contained in:
jendave
2011-08-06 14:02:11 +00:00
parent d13aeccbbb
commit 6eaa2e3eec

View File

@@ -231,9 +231,17 @@ public class BoosterDraftAI
for(int i = 0; i < 9; i++)
{
land = AllZone.CardFactory.getCard(colorToLand.get(color[0]).toString(), AllZone.ComputerPlayer);
land.setCurSetCode(land.getMostRecentSet());
land.setImageFilename(CardUtil.buildFilename(land));
list.add(land);
land = AllZone.CardFactory.getCard(colorToLand.get(color[1]).toString(), AllZone.ComputerPlayer);
land.setCurSetCode(land.getMostRecentSet());
land.setImageFilename(CardUtil.buildFilename(land));
list.add(land);
}