Fixing display texts.

This commit is contained in:
marcins78@gmail.com
2011-08-29 23:53:04 +00:00
parent 389ef1cfe8
commit 9bd636361a
4 changed files with 22 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ public class Card1_012 extends AbstractCompanion {
costToEffectAction.addCost(new AddTwilightEffect(2));
costToEffectAction.addEffect(
new ChooseAnyCardEffect(playerId, "Choose card", Filters.zone(Zone.HAND), Filters.owner(playerId)) {
new ChooseAnyCardEffect(playerId, "Choose a card to place beneath your draw deck", Filters.zone(Zone.HAND), Filters.owner(playerId)) {
@Override
protected void cardSelected(PhysicalCard card) {
costToEffectAction.addEffect(new PutCardFromHandOnBottomOfDeckEffect(card));

View File

@@ -1,20 +1,30 @@
package com.gempukku.lotro.common;
public enum Keyword {
ELF, HOBBIT, DWARF, MAN,
URUK_HAI, NAZGUL, ORC,
ELF("Elf"), HOBBIT("Hobbit"), DWARF("Dwarf"), MAN("Man"),
URUK_HAI("Uruk-Hai"), NAZGUL("Nazgul"), ORC("Orc"),
SUPPORT_AREA, SKIRMISH, FELLOWSHIP, RESPONSE, MANEUVER, ARCHERY,
SUPPORT_AREA("Support Area"), SKIRMISH("Skirmish"), FELLOWSHIP("Fellowship"), RESPONSE("Response"), MANEUVER("Maneuver"), ARCHERY("Archery"),
RING_BOUND, RING_BEARER,
RING_BOUND("Ring-Bound"), RING_BEARER("Ring-Bearer"),
ROAMING,
ROAMING("Roaming"),
WEATHER, TALE,
WEATHER("Weather"), TALE("Tale"),
RIVER, PLAINS, UNDERGROUND,
RIVER("River"), PLAINS("Plains"), UNDERGROUND("Underground"),
DAMAGE, DEFENDER, FIERCE, ARCHER, RANGER,
DAMAGE("Damage"), DEFENDER("Defender"), FIERCE("Fierce"), ARCHER("Archer"), RANGER("Ranger"),
HAND_WEAPON, ARMOR, HELM, MOUNT, RANGED_WEAPON, CLOAK
HAND_WEAPON("Hand Weapon"), ARMOR("Armor"), HELM("Helm"), MOUNT("Mount"), RANGED_WEAPON("Ranged Weapon"), CLOAK("Cloak");
private String _humanReadable;
private Keyword(String humanReadable) {
_humanReadable = humanReadable;
}
public String getHumanReadable() {
return _humanReadable;
}
}

View File

@@ -9,7 +9,7 @@ public class KeywordModifier extends AbstractModifier {
private Keyword _keyword;
public KeywordModifier(PhysicalCard physicalCard, Filter affectFilter, Keyword keyword) {
super(physicalCard, "Has " + keyword, affectFilter);
super(physicalCard, "Has " + keyword.getHumanReadable(), affectFilter);
_keyword = keyword;
}

View File

@@ -50,7 +50,7 @@ public class LotroGameMediator {
if (source != null)
sb.append("<br><b>" + source.getBlueprint().getName() + ":</b> " + modifier.getText());
else
sb.append("<br><b><i>system</i>:</b> " + modifier.getText());
sb.append("<br><b><i>System</i>:</b> " + modifier.getText());
}
if (modifiers.size() == 0)
sb.append("<br><i>nothing</i>");