Some fixes.

This commit is contained in:
marcins78@gmail.com
2011-09-01 22:24:39 +00:00
parent 3f503c7d27
commit 07700109cb
3 changed files with 9 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ public class Card1_019 extends AbstractLotroCardBlueprint {
&& Filters.canSpot(game.getGameState(), game.getModifiersQuerying(), Filters.keyword(Keyword.DWARF), Filters.canExert())) {
final PlayEventAction action = new PlayEventAction(self);
action.addCost(
new ChooseActiveCardEffect(playerId, "Choose Dwarf to exert", Filters.canExert(), Filters.keyword(Keyword.DWARF)) {
new ChooseActiveCardEffect(playerId, "Choose Dwarf to exert", Filters.keyword(Keyword.DWARF), Filters.canExert()) {
@Override
protected void cardSelected(PhysicalCard dwarf) {
action.addCost(new ExertCharacterEffect(dwarf));

View File

@@ -24,7 +24,7 @@ import java.util.List;
*/
public class Card1_053 extends AbstractCompanion {
public Card1_053() {
super(1, 5, 3, Culture.ELVEN, "Lorien Elf");
super(1, 4, 2, Culture.ELVEN, "Lorien Elf");
addKeyword(Keyword.ELF);
}

View File

@@ -1,5 +1,6 @@
package com.gempukku.lotro;
import com.gempukku.lotro.common.CardType;
import com.gempukku.lotro.game.LotroCardBlueprintLibrary;
import com.gempukku.lotro.game.LotroFormat;
import com.gempukku.lotro.game.ParticipantCommunicationVisitor;
@@ -56,6 +57,12 @@ public class LotroGameMediator {
if (modifiers.size() == 0)
sb.append("<br><i>nothing</i>");
CardType type = card.getBlueprint().getCardType();
if (type == CardType.COMPANION || type == CardType.ALLY || type == CardType.MINION) {
sb.append("<br><b>Strength:</b> " + _lotroGame.getModifiersQuerying().getStrength(_lotroGame.getGameState(), card));
sb.append("<br><b>Vitality:</b> " + _lotroGame.getModifiersQuerying().getVitality(_lotroGame.getGameState(), card));
}
return sb.toString();
}