[SPE] Implement The Mary Janes

This commit is contained in:
theelk801 2025-07-24 14:15:31 -04:00
parent 8cd3256c65
commit 788041c5b5
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,52 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.dynamicvalue.common.CreaturesThatAttackedThisTurnCount;
import mage.abilities.effects.common.cost.SpellCostReductionForEachSourceEffect;
import mage.abilities.keyword.MenaceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.constants.Zone;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TheMaryJanes extends CardImpl {
public TheMaryJanes(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.BARD);
this.subtype.add(SubType.PERFORMER);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// This spell costs {1} less to cast for each creature that attacked this turn.
this.addAbility(new SimpleStaticAbility(
Zone.ALL,
new SpellCostReductionForEachSourceEffect(
1, CreaturesThatAttackedThisTurnCount.instance
)
).addHint(CreaturesThatAttackedThisTurnCount.getHint()));
// Menace
this.addAbility(new MenaceAbility());
}
private TheMaryJanes(final TheMaryJanes card) {
super(card);
}
@Override
public TheMaryJanes copy() {
return new TheMaryJanes(this);
}
}

View file

@ -41,6 +41,7 @@ public final class MarvelsSpiderManEternal extends ExpansionSet {
cards.add(new SetCardInfo("Spider-Man, Miles Morales", 18, Rarity.MYTHIC, mage.cards.s.SpiderManMilesMorales.class));
cards.add(new SetCardInfo("Spider-Man, Peter Parker", 4, Rarity.MYTHIC, mage.cards.s.SpiderManPeterParker.class));
cards.add(new SetCardInfo("Symbiote Spawn", 11, Rarity.COMMON, mage.cards.s.SymbioteSpawn.class));
cards.add(new SetCardInfo("The Mary Janes", 15, Rarity.UNCOMMON, mage.cards.t.TheMaryJanes.class));
cards.add(new SetCardInfo("Twisted Spider-Clone", 19, Rarity.COMMON, mage.cards.t.TwistedSpiderClone.class));
cards.add(new SetCardInfo("Venom Blast", 20, Rarity.RARE, mage.cards.v.VenomBlast.class));
cards.add(new SetCardInfo("Venom, Deadly Devourer", 22, Rarity.RARE, mage.cards.v.VenomDeadlyDevourer.class));