- The casual games now have correct amount of cards in deck.

This commit is contained in:
marcins78@gmail.com
2012-01-18 20:16:07 +00:00
parent b847d9ea7b
commit 18924c7bf0
2 changed files with 6 additions and 2 deletions

View File

@@ -247,10 +247,11 @@ public class HallServer extends AbstractServer {
int owned = 0;
if (ownedCollection != null)
owned = ownedCollection.getItemCount(blueprintId);
int fromOwned = Math.min(owned, count);
for (int i = 0; i < owned; i++)
for (int i = 0; i < fromOwned; i++)
filteredSpecialCardsDeck.addCard(blueprintId);
for (int i = 0; i < (count - owned); i++)
for (int i = 0; i < (count - fromOwned); i++)
filteredSpecialCardsDeck.addCard(_library.getBaseBlueprintId(blueprintId));
}

View File

@@ -1,4 +1,7 @@
<pre style="font-size:80%">
<b>18 Jan. 2012</b>
- The casual games now have correct amount of cards in deck.
<b>17 Jan. 2012</b>
- "Deagol" should be able to play an artifact or possession without freezing the game.
- "Sam, Bearer of Great Need" may now start as a Ring-Bearer.