forked from External/mage
Merge pull request 'added land count detection to StarCharts' (#33) from ConsultTheStarCharts into master
Some checks failed
/ build_release (push) Has been cancelled
Some checks failed
/ build_release (push) Has been cancelled
Reviewed-on: #33
This commit is contained in:
commit
b468f8e915
1 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ package mage.cards.c;
|
||||||
|
|
||||||
import mage.abilities.condition.common.KickedCondition;
|
import mage.abilities.condition.common.KickedCondition;
|
||||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||||
import mage.abilities.dynamicvalue.common.ManaSpentToCastCount;
|
import mage.abilities.dynamicvalue.common.LandsYouControlCount;
|
||||||
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||||
import mage.abilities.keyword.KickerAbility;
|
import mage.abilities.keyword.KickerAbility;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
|
@ -25,8 +25,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.
|
// 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(
|
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||||
new LookLibraryAndPickControllerEffect(ManaSpentToCastCount.instance, 2, PutCards.HAND, PutCards.BOTTOM_RANDOM),
|
new LookLibraryAndPickControllerEffect(LandsYouControlCount.instance, 2, PutCards.HAND, PutCards.BOTTOM_RANDOM),
|
||||||
new LookLibraryAndPickControllerEffect(ManaSpentToCastCount.instance, 1, 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. " +
|
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 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"
|
"Put the rest on the bottom of your library in a random order"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue