- Tokens and stacked cards are displayed now in zoomed view.

This commit is contained in:
marcins78@gmail.com
2011-12-11 14:38:47 +00:00
parent a623300b2f
commit 79c36396ee
2 changed files with 18 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package com.gempukku.lotro.game;
import com.gempukku.lotro.common.Keyword;
import com.gempukku.lotro.common.Phase;
import com.gempukku.lotro.common.Token;
import com.gempukku.lotro.common.Zone;
import com.gempukku.lotro.communication.GameStateListener;
import com.gempukku.lotro.game.state.GameEvent;
@@ -112,6 +113,19 @@ public class LotroGameMediator {
if (modifiers.size() == 0)
sb.append("<br><i>nothing</i>");
Map<Token, Integer> map = _lotroGame.getGameState().getTokens(card);
if (map != null && map.size() > 0) {
sb.append("<br><b>Tokens:</b>");
for (Map.Entry<Token, Integer> tokenIntegerEntry : map.entrySet())
sb.append("<br>" + tokenIntegerEntry.getKey().toString() + ": " + tokenIntegerEntry.getValue());
}
List<PhysicalCard> stackedCards = _lotroGame.getGameState().getStackedCards(card);
if (stackedCards != null && stackedCards.size() > 0) {
sb.append("<br><b>Stacked cards:</b>");
sb.append("<br>" + GameUtils.getAppendedNames(stackedCards));
}
sb.append("<br><br><b>Effective stats:</b>");
try {
int twilightCost = _lotroGame.getModifiersQuerying().getTwilightCost(_lotroGame.getGameState(), card, false);

View File

@@ -1,4 +1,8 @@
<pre style="font-size:80%">
<b>11 Dec. 2011</b>
- Added leagues
- Tokens and stacked cards are displayed now in zoomed view.
<b>9 Dec. 2011</b>
- "Ghastly Host" should allow you to play Nazguls now.