Fixing display texts.
This commit is contained in:
@@ -49,7 +49,7 @@ public class Card1_012 extends AbstractCompanion {
|
|||||||
|
|
||||||
costToEffectAction.addCost(new AddTwilightEffect(2));
|
costToEffectAction.addCost(new AddTwilightEffect(2));
|
||||||
costToEffectAction.addEffect(
|
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
|
@Override
|
||||||
protected void cardSelected(PhysicalCard card) {
|
protected void cardSelected(PhysicalCard card) {
|
||||||
costToEffectAction.addEffect(new PutCardFromHandOnBottomOfDeckEffect(card));
|
costToEffectAction.addEffect(new PutCardFromHandOnBottomOfDeckEffect(card));
|
||||||
|
|||||||
@@ -1,20 +1,30 @@
|
|||||||
package com.gempukku.lotro.common;
|
package com.gempukku.lotro.common;
|
||||||
|
|
||||||
public enum Keyword {
|
public enum Keyword {
|
||||||
ELF, HOBBIT, DWARF, MAN,
|
ELF("Elf"), HOBBIT("Hobbit"), DWARF("Dwarf"), MAN("Man"),
|
||||||
URUK_HAI, NAZGUL, ORC,
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ public class KeywordModifier extends AbstractModifier {
|
|||||||
private Keyword _keyword;
|
private Keyword _keyword;
|
||||||
|
|
||||||
public KeywordModifier(PhysicalCard physicalCard, Filter affectFilter, Keyword keyword) {
|
public KeywordModifier(PhysicalCard physicalCard, Filter affectFilter, Keyword keyword) {
|
||||||
super(physicalCard, "Has " + keyword, affectFilter);
|
super(physicalCard, "Has " + keyword.getHumanReadable(), affectFilter);
|
||||||
_keyword = keyword;
|
_keyword = keyword;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ public class LotroGameMediator {
|
|||||||
if (source != null)
|
if (source != null)
|
||||||
sb.append("<br><b>" + source.getBlueprint().getName() + ":</b> " + modifier.getText());
|
sb.append("<br><b>" + source.getBlueprint().getName() + ":</b> " + modifier.getText());
|
||||||
else
|
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)
|
if (modifiers.size() == 0)
|
||||||
sb.append("<br><i>nothing</i>");
|
sb.append("<br><i>nothing</i>");
|
||||||
|
|||||||
Reference in New Issue
Block a user