[MH2] Implemented Sweep the Skies

This commit is contained in:
Evan Kranzler 2021-05-27 08:51:10 -04:00
parent 55a3b03c5e
commit a060aa93e2
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
package mage.cards.s;
import mage.abilities.dynamicvalue.common.ColorsOfManaSpentToCastCount;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.game.permanent.token.ThopterColorlessToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SweepTheSkies extends CardImpl {
public SweepTheSkies(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{U}{U}");
// Converge Create a 1/1 colorless Thopter artifact creature token with flying for each color of mana spent to cast this spell.
this.getSpellAbility().addEffect(new CreateTokenEffect(
new ThopterColorlessToken(), ColorsOfManaSpentToCastCount.getInstance()
).setText("<i>Converge</i> &mdash; Create a 1/1 colorless Thopter artifact creature token with flying for each color of mana spent to cast this spell"));
}
private SweepTheSkies(final SweepTheSkies card) {
super(card);
}
@Override
public SweepTheSkies copy() {
return new SweepTheSkies(this);
}
}

View file

@ -97,6 +97,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Step Through", 66, Rarity.COMMON, mage.cards.s.StepThrough.class));
cards.add(new SetCardInfo("Subtlety", 67, Rarity.MYTHIC, mage.cards.s.Subtlety.class));
cards.add(new SetCardInfo("Swamp", 485, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Sweep the Skies", 70, Rarity.UNCOMMON, mage.cards.s.SweepTheSkies.class));
cards.add(new SetCardInfo("Sylvan Anthem", 176, Rarity.RARE, mage.cards.s.SylvanAnthem.class));
cards.add(new SetCardInfo("Tanglepool Bridge", 257, Rarity.COMMON, mage.cards.t.TanglepoolBridge.class));
cards.add(new SetCardInfo("Thornglint Bridge", 258, Rarity.COMMON, mage.cards.t.ThornglintBridge.class));