[STX] Implemented Spirit Summoning

This commit is contained in:
Evan Kranzler 2021-03-30 07:49:44 -04:00
parent 96946dcc07
commit f24cfab51b
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
package mage.cards.s;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.LoreholdToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SpiritSummoning extends CardImpl {
public SpiritSummoning(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R/W}{R/W}");
this.subtype.add(SubType.LESSON);
// Create a 3/2 red and white Spirit creature token.
this.getSpellAbility().addEffect(new CreateTokenEffect(new LoreholdToken()));
}
private SpiritSummoning(final SpiritSummoning card) {
super(card);
}
@Override
public SpiritSummoning copy() {
return new SpiritSummoning(this);
}
}

View file

@ -79,6 +79,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
cards.add(new SetCardInfo("Shineshadow Snarl", 272, Rarity.RARE, mage.cards.s.ShineshadowSnarl.class));
cards.add(new SetCardInfo("Silverquill Apprentice", 231, Rarity.UNCOMMON, mage.cards.s.SilverquillApprentice.class));
cards.add(new SetCardInfo("Silverquill Command", 232, Rarity.RARE, mage.cards.s.SilverquillCommand.class));
cards.add(new SetCardInfo("Spirit Summoning", 236, Rarity.COMMON, mage.cards.s.SpiritSummoning.class));
cards.add(new SetCardInfo("Star Pupil", 30, Rarity.COMMON, mage.cards.s.StarPupil.class));
cards.add(new SetCardInfo("Storm-Kiln Artist", 115, Rarity.UNCOMMON, mage.cards.s.StormKilnArtist.class));
cards.add(new SetCardInfo("Study Break", 34, Rarity.COMMON, mage.cards.s.StudyBreak.class));