From c1499e3854f7591a5bd11ab3684289527edf29a9 Mon Sep 17 00:00:00 2001 From: been Date: Tue, 29 Jul 2025 19:54:51 -0700 Subject: [PATCH 1/2] added land count detection to StarCharts --- Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java b/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java index 6a2cfcbbe25..36256dfa96d 100644 --- a/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java +++ b/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java @@ -2,7 +2,8 @@ package mage.cards.c; import mage.abilities.condition.common.KickedCondition; import mage.abilities.decorator.ConditionalOneShotEffect; -import mage.abilities.dynamicvalue.common.ManaSpentToCastCount; +import mage.abilities.dynamicvalue.common.LandsYouControlCount; +// import mage.abilities.dynamicvalue.common.ManaSpentToCastCount; import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; import mage.abilities.keyword.KickerAbility; import mage.cards.CardImpl; @@ -25,8 +26,8 @@ public final class ConsultTheStarCharts extends CardImpl { // Look at the top X cards of your library, where X is the number of lands you control. Put one of those cards into your hand. If this spell was kicked, put two of those cards into your hand instead. Put the rest on the bottom of your library in a random order. this.getSpellAbility().addEffect(new ConditionalOneShotEffect( - new LookLibraryAndPickControllerEffect(ManaSpentToCastCount.instance, 2, PutCards.HAND, PutCards.BOTTOM_RANDOM), - new LookLibraryAndPickControllerEffect(ManaSpentToCastCount.instance, 1, PutCards.HAND, PutCards.BOTTOM_RANDOM), + new LookLibraryAndPickControllerEffect(LandsYouControlCount.instance, 2, PutCards.HAND, PutCards.BOTTOM_RANDOM), + new LookLibraryAndPickControllerEffect(LandsYouControlCount.instance, 1, PutCards.HAND, PutCards.BOTTOM_RANDOM), KickedCondition.ONCE, "look at the top X cards of your library, where X is the number of lands you control. " + "Put one of those cards into your hand. If this spell was kicked, put two of those cards into your hand instead. " + "Put the rest on the bottom of your library in a random order" -- 2.47.2 From 8214fb5b1f173598b8b461fa0c4eab5627c9634f Mon Sep 17 00:00:00 2001 From: been Date: Tue, 29 Jul 2025 20:02:06 -0700 Subject: [PATCH 2/2] COMMENT BEGONE --- Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java | 1 - 1 file changed, 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java b/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java index 36256dfa96d..1363162cccc 100644 --- a/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java +++ b/Mage.Sets/src/mage/cards/c/ConsultTheStarCharts.java @@ -3,7 +3,6 @@ package mage.cards.c; import mage.abilities.condition.common.KickedCondition; import mage.abilities.decorator.ConditionalOneShotEffect; import mage.abilities.dynamicvalue.common.LandsYouControlCount; -// import mage.abilities.dynamicvalue.common.ManaSpentToCastCount; import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; import mage.abilities.keyword.KickerAbility; import mage.cards.CardImpl; -- 2.47.2