Fix Tom Bombadil text

This commit is contained in:
PurpleCrowbar 2023-06-21 23:26:00 +01:00
parent 09676667be
commit a9c28c420f
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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