[STX] Implemented Sudden Breakthrough

This commit is contained in:
Evan Kranzler 2021-03-30 21:59:07 -04:00
parent 0b6d2c8984
commit 530854dd57
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.s;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.game.permanent.token.TreasureToken;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SuddenBreakthrough extends CardImpl {
public SuddenBreakthrough(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
// Target creature gets +2/+0 and gains first strike until end of turn.
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 0)
.setText("target creature gets +2/+0"));
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(
FirstStrikeAbility.getInstance(), Duration.EndOfTurn
).setText("and gains first strike until end of turn.<br>"));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
// Create a Treasure token.
this.getSpellAbility().addEffect(new CreateTokenEffect(new TreasureToken()));
}
private SuddenBreakthrough(final SuddenBreakthrough card) {
super(card);
}
@Override
public SuddenBreakthrough copy() {
return new SuddenBreakthrough(this);
}
}

View file

@ -99,6 +99,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
cards.add(new SetCardInfo("Stonebound Mentor", 239, Rarity.COMMON, mage.cards.s.StoneboundMentor.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));
cards.add(new SetCardInfo("Sudden Breakthrough", 116, Rarity.COMMON, mage.cards.s.SuddenBreakthrough.class));
cards.add(new SetCardInfo("Swamp", 370, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Thrilling Discovery", 243, Rarity.COMMON, mage.cards.t.ThrillingDiscovery.class));
cards.add(new SetCardInfo("Thunderous Orator", 35, Rarity.UNCOMMON, mage.cards.t.ThunderousOrator.class));

View file

@ -40623,6 +40623,7 @@ Igneous Inspiration|Strixhaven: School of Mages|107|U|{2}{R}|Sorcery|||Igneous I
Illuminate History|Strixhaven: School of Mages|108|R|{2}{R}{R}|Sorcery - Lesson|||Discard any number of cards, then draw that many cards. Then if there are seven or more cards in your graveyard, create a 3/2 red and white Spirit creature token.|
Illustrious Historian|Strixhaven: School of Mages|109|C|{1}{R}|Creature - Human Shaman|2|1|{5}, Exile Illustrious Historian from your graveyard: Create a tapped 3/2 red and white Spirit creature token.|
Storm-Kiln Artist|Strixhaven: School of Mages|115|U|{3}{R}|Creature - Dwarf Shaman|2|2|Storm-Kiln Artist gets +1/+0 for each artifact you control.$Magecraft — Whenever you cast or copy an instant or sorcery spell, create a Treasure token.|
Sudden Breakthrough|Strixhaven: School of Mages|116|C|{1}{R}|Instant|||Target creature gets +2/+0 and gains first strike until end of turn.$Create a Treasure token.|
Dragonsguard Elite|Strixhaven: School of Mages|127|R|{1}{G}|Creature - Human Druid|2|2|Magecraft — Whenever you cast or copy an instant or sorcery spell, put a +1/+1 counter on Dragonsguard Elite.${4}{G}{G}: Double the number of +1/+1 counters on Dragonsguard Elite.|
Field Trip|Strixhaven: School of Mages|131|C|{2}{G}|Sorcery|||Search your library for a basic Forest card, put that card onto the battlefield tapped, then shuffle.$Learn.|
Awaken the Blood Avatar|Strixhaven: School of Mages|149|M|{6}{B}{R}|Sorcery|||As an additional cost to cast this spell, you may sacrifice any number of creatures. This spell costs {2} less to cast for each creature sacrificed in this way.$Each opponent sacrifices a creature. Create a 3/6 black and red Avatar creature token with haste and "Whenever this creature attacks, it deals 3 damage to each opponent."|