Add hint to Gaea's Cradle

This commit is contained in:
PurpleCrowbar 2023-06-15 02:36:45 +01:00
parent 80cc908216
commit 585aa296ee

View file

@ -4,6 +4,8 @@ package mage.cards.g;
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;
@ -17,6 +19,10 @@ import mage.filter.StaticFilters;
*/
public final class GaeasCradle extends CardImpl {
private static final Hint hint = new ValueHint(
"Number of creatures you control", new PermanentsOnBattlefieldCount(StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED)
);
public GaeasCradle(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
this.supertype.add(SuperType.LEGENDARY);
@ -26,7 +32,7 @@ public final class GaeasCradle extends CardImpl {
Mana.GreenMana(1),
new PermanentsOnBattlefieldCount(StaticFilters.FILTER_PERMANENT_CREATURE_CONTROLLED)
);
this.addAbility(ability);
this.addAbility(ability.addHint(hint));
}
private GaeasCradle(final GaeasCradle card) {