mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed One with the Machine counting all permanents and not just artifacts
This commit is contained in:
parent
90b2a287e1
commit
b8d72b9619
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
|
import mage.filter.StaticFilters;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -18,7 +19,7 @@ public final class OneWithTheMachine extends CardImpl {
|
||||||
|
|
||||||
// Draw cards equal to the highest converted mana cost among artifacts you control.
|
// Draw cards equal to the highest converted mana cost among artifacts you control.
|
||||||
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(
|
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(
|
||||||
new HighestConvertedManaCostValue()
|
new HighestConvertedManaCostValue(StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT)
|
||||||
).setText("Draw cards equal to the highest converted mana cost among artifacts you control"));
|
).setText("Draw cards equal to the highest converted mana cost among artifacts you control"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue