[SPM] Implement Agent Venom

This commit is contained in:
theelk801 2025-09-01 13:28:04 -04:00
parent 811bf61ca7
commit 78694fce0b
3 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,66 @@
package mage.cards.a;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DiesCreatureTriggeredAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.LoseLifeSourceControllerEffect;
import mage.abilities.keyword.FlashAbility;
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.filter.FilterPermanent;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.predicate.mageobject.AnotherPredicate;
import mage.filter.predicate.permanent.TokenPredicate;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class AgentVenom extends CardImpl {
private static final FilterPermanent filter = new FilterControlledCreaturePermanent("another nontoken creature you control");
static {
filter.add(AnotherPredicate.instance);
filter.add(TokenPredicate.FALSE);
}
public AgentVenom(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.SYMBIOTE);
this.subtype.add(SubType.SOLDIER);
this.subtype.add(SubType.HERO);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// Flash
this.addAbility(FlashAbility.getInstance());
// Menace
this.addAbility(new MenaceAbility());
// Whenever another nontoken creature you control dies, you draw a card and lose 1 life.
Ability ability = new DiesCreatureTriggeredAbility(
new DrawCardSourceControllerEffect(1, true), false, filter
);
ability.addEffect(new LoseLifeSourceControllerEffect(1).setText("and lose 1 life"));
this.addAbility(ability);
}
private AgentVenom(final AgentVenom card) {
super(card);
}
@Override
public AgentVenom copy() {
return new AgentVenom(this);
}
}

View file

@ -24,6 +24,8 @@ public final class MarvelsSpiderMan extends ExpansionSet {
this.blockName = "Marvel's Spider-Man"; // for sorting in GUI
this.hasBasicLands = true;
cards.add(new SetCardInfo("Agent Venom", 255, Rarity.RARE, mage.cards.a.AgentVenom.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Agent Venom", 49, Rarity.RARE, mage.cards.a.AgentVenom.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Angry Rabble", 75, Rarity.COMMON, mage.cards.a.AngryRabble.class));
cards.add(new SetCardInfo("Anti-Venom, Horrifying Healer", 1, Rarity.MYTHIC, mage.cards.a.AntiVenomHorrifyingHealer.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Anti-Venom, Horrifying Healer", 244, Rarity.MYTHIC, mage.cards.a.AntiVenomHorrifyingHealer.class, NON_FULL_USE_VARIOUS));

View file

@ -59863,6 +59863,7 @@ Oscorp Research Team|Marvel's Spider-Man|40|C|{3}{U}|Creature - Human Scientist|
Spider-Byte, Web Warden|Marvel's Spider-Man|44|U|{2}{U}|Legendary Creature - Spider Avatar Hero|2|2|When Spider-Byte enters, return up to one target nonland permanent to its owner's hand.|
Unstable Experiment|Marvel's Spider-Man|47|C|{1}{U}|Instant|||Target player draws a card, then up to one target creature you control connives.|
Whoosh!|Marvel's Spider-Man|48|C|{1}{U}|Instant|||Kicker {1}{U}$Return target nonland permanent to its owner's hand. If this spell was kicked, draw a card.|
Agent Venom|Marvel's Spider-Man|49|R|{2}{B}|Legendary Creature - Symbiote Soldier Hero|2|3|Flash$Menace$Whenever another nontoken creature you control dies, you draw a card and lose 1 life.|
Behold the Sinister Six!|Marvel's Spider-Man|51|M|{6}{B}|Sorcery|||Return up to six target creature cards with different names from your graveyard to the battlefield.|
Eddie Brock|Marvel's Spider-Man|55|M|{2}{B}|Legendary Creature Human Hero Villain|5|5|When Eddie Brock enters, return target creature card with mana value 1 or less from your graveyard to the battlefield.${3}{B}{R}{G}: Transform Eddie Brock. Activate only as a sorcery.|
Venom, Lethal Protector|Marvel's Spider-Man|55|M|{3}{B}{R}{G}|Legendary Creature - Symbiote Hero Villain|5|5|Menace, trample, haste$Whenever Venom attacks, you may sacrifice another creature. If you do, draw X cards, then you may put a permanent card with mana value X or less from your hand onto the battlefield, where X is the sacrificed creature's mana value.|
@ -59988,6 +59989,7 @@ The Soul Stone|Marvel's Spider-Man|242|M|{1}{B}|Legendary Artifact - Infinity St
The Soul Stone|Marvel's Spider-Man|243|M|{1}{B}|Legendary Artifact - Infinity Stone|||Indestructible${T}: Add {B}.${6}{B}, {T}, Exile a creature you control: Harness The Soul Stone.$ -- At the beginning of your upkeep, return target creature card from your graveyard to the battlefield.|
Anti-Venom, Horrifying Healer|Marvel's Spider-Man|244|M|{W}{W}{W}{W}{W}|Legendary Creature - Symbiote Hero|5|5|When Anti-Venom enters, if he was cast, return target creature card from your graveyard to the battlefield.$If damage would be dealt to Anti-Venom, prevent that damage and put that many +1/+1 counters on him.|
Mysterio, Master of Illusion|Marvel's Spider-Man|253|R|{3}{U}|Legendary Creature - Human Villain|3|3|When Mysterio enters, create a 3/3 blue Illusion Villain creature token for each nontoken Villain you control. Exile those tokens when Mysterio leaves the battlefield.|
Agent Venom|Marvel's Spider-Man|255|R|{2}{B}|Legendary Creature - Symbiote Soldier Hero|2|3|Flash$Menace$Whenever another nontoken creature you control dies, you draw a card and lose 1 life.|
Gwenom, Remorseless|Marvel's Spider-Man|256|M|{3}{B}{B}|Legendary Creature - Symbiote Spider Hero|4|4|Deathtouch, lifelink$Whenever Gwenom attacks, until end of turn you may look at the top card of your library any time and you may play cards from the top of your library. If you cast a spell this way, pay life equal to its mana value rather than pay its mana cost.|
Electro, Assaulting Battery|Marvel's Spider-Man|260|R|{1}{R}{R}|Legendary Creature - Human Villain|2|3|Flying$You don't lose unspent red mana as steps and phases end.$Whenever you cast an instant or sorcery spell, add {R}.$When Electro leaves the battlefield, you may pay {X}. When you do, he deals X damage to target player.|
J. Jonah Jameson|Marvel's Spider-Man|261|R|{2}{R}|Legendary Creature - Human Citizen|2|2|When J. Jonah Jameson enters, suspect up to one target creature.$Whenever a creature you control with menace attacks, create a Treasure token.|