mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
fixed Collected Conjuring allowing controller to cast any card
This commit is contained in:
parent
43bb70f0cc
commit
5e58a26345
1 changed files with 7 additions and 1 deletions
|
@ -49,6 +49,12 @@ class CollectedConjuringEffect extends OneShotEffect {
|
|||
filter.add(new ConvertedManaCostPredicate(ComparisonType.FEWER_THAN, 4));
|
||||
}
|
||||
|
||||
private static final FilterCard filter2 = filter.copy();
|
||||
|
||||
static {
|
||||
filter2.setMessage("sorcery card with converted mana cost 3 or less");
|
||||
}
|
||||
|
||||
CollectedConjuringEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "Exile the top six cards of your library. " +
|
||||
|
@ -80,7 +86,7 @@ class CollectedConjuringEffect extends OneShotEffect {
|
|||
if (!controller.chooseUse(Outcome.PlayForFree, "Cast a card exiled with " + sourceObject.getLogName() + " without paying its mana cost?", source, game)) {
|
||||
break;
|
||||
}
|
||||
TargetCard targetCard = new TargetCard(1, Zone.EXILED, new FilterCard("nonland card to cast for free"));
|
||||
TargetCard targetCard = new TargetCard(1, Zone.EXILED, filter2);
|
||||
if (!controller.choose(Outcome.PlayForFree, cards, targetCard, game)) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue