From a9c28c420f7c26e409bf66aaa512470a815955ce Mon Sep 17 00:00:00 2001 From: PurpleCrowbar <26198472+PurpleCrowbar@users.noreply.github.com> Date: Wed, 21 Jun 2023 23:26:00 +0100 Subject: [PATCH] Fix Tom Bombadil text --- Mage.Sets/src/mage/cards/t/TomBombadil.java | 4 ++-- .../mage/abilities/hint/common/CountersOnPermanentsHint.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/t/TomBombadil.java b/Mage.Sets/src/mage/cards/t/TomBombadil.java index 42861a0a2e..6dbbea08b7 100644 --- a/Mage.Sets/src/mage/cards/t/TomBombadil.java +++ b/Mage.Sets/src/mage/cards/t/TomBombadil.java @@ -36,7 +36,7 @@ import mage.abilities.hint.common.CountersOnPermanentsHint; */ public final class TomBombadil extends CardImpl { - private static final FilterPermanent filter = new FilterControlledPermanent(SubType.SAGA); + private static final FilterPermanent filter = new FilterControlledPermanent(SubType.SAGA, "Sagas you control"); private static final CountersOnPermanentsCondition condition = new CountersOnPermanentsCondition(filter, CounterType.LORE, ComparisonType.MORE_THAN, 3); private static final CountersOnPermanentsHint hint = new CountersOnPermanentsHint(condition); @@ -57,7 +57,7 @@ public final class TomBombadil extends CardImpl { condition, "As long as there are four or more lore counters among Sagas you control, {this} has hexproof")); ability.addEffect(new ConditionalContinuousEffect( - new GainAbilitySourceEffect(IndestructibleAbility.getInstance()), condition, "and has indestructible")); + new GainAbilitySourceEffect(IndestructibleAbility.getInstance()), condition, "and indestructible")); this.addAbility(ability.addHint(hint)); // Whenever the final chapter ability of a Saga you control resolves, reveal diff --git a/Mage/src/main/java/mage/abilities/hint/common/CountersOnPermanentsHint.java b/Mage/src/main/java/mage/abilities/hint/common/CountersOnPermanentsHint.java index c81f930704..ca47797a44 100644 --- a/Mage/src/main/java/mage/abilities/hint/common/CountersOnPermanentsHint.java +++ b/Mage/src/main/java/mage/abilities/hint/common/CountersOnPermanentsHint.java @@ -1,5 +1,6 @@ package mage.abilities.hint.common; +import com.sun.xml.internal.ws.util.StringUtils; import mage.abilities.Ability; import mage.abilities.hint.Hint; import mage.cards.Card; @@ -62,7 +63,7 @@ public class CountersOnPermanentsHint implements Hint { } } - return this.counterType.getName() + " counters among " + this.filter.getMessage() + ": " + totalCounters; + return StringUtils.capitalize(this.counterType.getName()) + " counters among " + this.filter.getMessage() + ": " + totalCounters; } @Override