From ffef3b25cd1c766f463a2fe79eef9179cba9a197 Mon Sep 17 00:00:00 2001 From: PurpleCrowbar <26198472+PurpleCrowbar@users.noreply.github.com> Date: Wed, 3 May 2023 16:45:39 +0100 Subject: [PATCH] Add hint to Serra's Sanctum --- Mage.Sets/src/mage/cards/s/SerrasSanctum.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/s/SerrasSanctum.java b/Mage.Sets/src/mage/cards/s/SerrasSanctum.java index 705068224c..de5da7c6af 100644 --- a/Mage.Sets/src/mage/cards/s/SerrasSanctum.java +++ b/Mage.Sets/src/mage/cards/s/SerrasSanctum.java @@ -5,6 +5,8 @@ package mage.cards.s; import java.util.UUID; import mage.Mana; import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount; +import mage.abilities.hint.Hint; +import mage.abilities.hint.ValueHint; import mage.abilities.mana.DynamicManaAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; @@ -25,12 +27,16 @@ public final class SerrasSanctum extends CardImpl { filter.add(CardType.ENCHANTMENT.getPredicate()); } + private static final Hint hint = new ValueHint( + "Number of enchantments you control", new PermanentsOnBattlefieldCount(filter) + ); + public SerrasSanctum(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.LAND},""); addSuperType(SuperType.LEGENDARY); DynamicManaAbility ability = new DynamicManaAbility(Mana.WhiteMana(1), new PermanentsOnBattlefieldCount(filter)); - this.addAbility(ability); + this.addAbility(ability.addHint(hint)); } private SerrasSanctum(final SerrasSanctum card) {