mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
Fix Tom Bombadil text
This commit is contained in:
parent
09676667be
commit
a9c28c420f
2 changed files with 4 additions and 3 deletions
|
@ -36,7 +36,7 @@ import mage.abilities.hint.common.CountersOnPermanentsHint;
|
||||||
*/
|
*/
|
||||||
public final class TomBombadil extends CardImpl {
|
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,
|
private static final CountersOnPermanentsCondition condition = new CountersOnPermanentsCondition(filter,
|
||||||
CounterType.LORE, ComparisonType.MORE_THAN, 3);
|
CounterType.LORE, ComparisonType.MORE_THAN, 3);
|
||||||
private static final CountersOnPermanentsHint hint = new CountersOnPermanentsHint(condition);
|
private static final CountersOnPermanentsHint hint = new CountersOnPermanentsHint(condition);
|
||||||
|
@ -57,7 +57,7 @@ public final class TomBombadil extends CardImpl {
|
||||||
condition,
|
condition,
|
||||||
"As long as there are four or more lore counters among Sagas you control, {this} has hexproof"));
|
"As long as there are four or more lore counters among Sagas you control, {this} has hexproof"));
|
||||||
ability.addEffect(new ConditionalContinuousEffect(
|
ability.addEffect(new ConditionalContinuousEffect(
|
||||||
new GainAbilitySourceEffect(IndestructibleAbility.getInstance()), condition, "and has indestructible"));
|
new GainAbilitySourceEffect(IndestructibleAbility.getInstance()), condition, "and indestructible"));
|
||||||
this.addAbility(ability.addHint(hint));
|
this.addAbility(ability.addHint(hint));
|
||||||
|
|
||||||
// Whenever the final chapter ability of a Saga you control resolves, reveal
|
// Whenever the final chapter ability of a Saga you control resolves, reveal
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package mage.abilities.hint.common;
|
package mage.abilities.hint.common;
|
||||||
|
|
||||||
|
import com.sun.xml.internal.ws.util.StringUtils;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.hint.Hint;
|
import mage.abilities.hint.Hint;
|
||||||
import mage.cards.Card;
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue