From 7c57ad2db57b31ffc04d09b68755c2f414944fc6 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 21 Oct 2022 08:45:00 -0400 Subject: [PATCH] [J22] Implemented Ardoz, Cobbler of War --- .../src/mage/cards/a/ArdozCobblerOfWar.java | 60 +++++++++++++++++++ Mage.Sets/src/mage/sets/Jumpstart2022.java | 1 + Utils/mtg-cards-data.txt | 2 +- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/a/ArdozCobblerOfWar.java diff --git a/Mage.Sets/src/mage/cards/a/ArdozCobblerOfWar.java b/Mage.Sets/src/mage/cards/a/ArdozCobblerOfWar.java new file mode 100644 index 00000000000..c8c9d322aa0 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/ArdozCobblerOfWar.java @@ -0,0 +1,60 @@ +package mage.cards.a; + +import mage.MageInt; +import mage.abilities.common.ActivateAsSorceryActivatedAbility; +import mage.abilities.common.EntersBattlefieldThisOrAnotherTriggeredAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.keyword.HasteAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SetTargetPointer; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.filter.StaticFilters; +import mage.game.permanent.token.GoblinToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ArdozCobblerOfWar extends CardImpl { + + public ArdozCobblerOfWar(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}"); + + this.addSuperType(SuperType.LEGENDARY); + this.subtype.add(SubType.GOBLIN); + this.subtype.add(SubType.SHAMAN); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // Haste + this.addAbility(HasteAbility.getInstance()); + + // Whenever Ardoz, Cobbler of War or another creature enters the battlefield under your control, that creature gets +2/+0 until end of turn. + this.addAbility(new EntersBattlefieldThisOrAnotherTriggeredAbility( + new BoostTargetEffect(2, 0) + .setText("that creature gets +2/+0 until end of turn"), + StaticFilters.FILTER_CONTROLLED_ANOTHER_CREATURE, false, + SetTargetPointer.PERMANENT, true + )); + + // {3}{R}: Create a 1/1 red Goblin creature token with haste. Activate only as sorcery. + this.addAbility(new ActivateAsSorceryActivatedAbility( + new CreateTokenEffect(new GoblinToken(true)), new ManaCostsImpl<>("{3}{R}") + )); + } + + private ArdozCobblerOfWar(final ArdozCobblerOfWar card) { + super(card); + } + + @Override + public ArdozCobblerOfWar copy() { + return new ArdozCobblerOfWar(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Jumpstart2022.java b/Mage.Sets/src/mage/sets/Jumpstart2022.java index 04577eaeb9e..84130286296 100644 --- a/Mage.Sets/src/mage/sets/Jumpstart2022.java +++ b/Mage.Sets/src/mage/sets/Jumpstart2022.java @@ -20,6 +20,7 @@ public final class Jumpstart2022 extends ExpansionSet { this.blockName = "Jumpstart"; this.hasBasicLands = false; + cards.add(new SetCardInfo("Ardoz, Cobbler of War", 29, Rarity.RARE, mage.cards.a.ArdozCobblerOfWar.class)); cards.add(new SetCardInfo("Coldsteel Heart", 94, Rarity.UNCOMMON, mage.cards.c.ColdsteelHeart.class)); cards.add(new SetCardInfo("Kiki-Jiki, Mirror Breaker", 79, Rarity.MYTHIC, mage.cards.k.KikiJikiMirrorBreaker.class)); } diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 5e43ae5f846..964366871f3 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -46267,6 +46267,6 @@ Soundwave, Superior Champion|Transformers|14|M||Legendary Artifact|||Whenever yo Ultra Magnus, Tactician|Transformers|15|M|{4}{R}{G}{W}|Legendary Artifact Creature - Robot|7|7|More Than Meets the Eye {2}{R}{G}{W}$Ward {2}$Whenever Ultra Magnus attacks, you may put an artifact creature card from your hand onto the battlefield tapped and attacking. If you do, convert Ultra Magnus at end of combat.| Ultra Magnus, Armored Carrier|Transformers|15|M||Legendary Artifact - Vehicle|4|7|Living metal$Haste$Formidable -- Whenever Ultra Magnus attacks, attacking creatures you control gain indestructible until end of turn. If htose creatures have total power 8 or greater, convert Ultra Magnus.| Isu the Abominable|Jump Start 2022|12|M|{3}{U}{U}|Legendary Snow Creature - Yeti|5|5|You may look at the top card of your library any time.$You may play snow lands and cast snow spells from the top of your library.$Whenever another snow permanent enters the battlefield under your control, you may pay {G}, {W}, or {U}. If you do, put a +1/+1 counter on Isu the Abominable.| -Ardoz, Cobbler of Wars|Jump Start 2022|29|R|{1}{R}|Legendary Creature - Goblin Shaman|1|1|Haste$Whenever Ardoz, Cobbler of Wars or another creature enters the battlefield under your control, that creature gets +2/+0 until end of turn.${3}{R}: Create a 1/1 red Goblin creature token with haste. Activate only as sorcery.| +Ardoz, Cobbler of War|Jumpstart 2022|29|R|{1}{R}|Legendary Creature - Goblin Shaman|1|1|Haste$Whenever Ardoz, Cobbler of War or another creature enters the battlefield under your control, that creature gets +2/+0 until end of turn.${3}{R}: Create a 1/1 red Goblin creature token with haste. Activate only as sorcery.| Kiki-Jiki, Mirror Breaker|Jump Start 2022|79|M|{2}{R}{R}{R}|Legendary Creature - Goblin Shaman|2|2|Haste${T}: Create a token that's a copy of target nonlegendary creature you control, except it has haste. Sacrifice it at the beginning of the next end step.| Coldsteel Heart|Jump Start 2022|94|U|{2}|Snow Artifact|||Coldsteel Heart enters the battlefield tapped.$As Coldsteel Heart enters the battlefield, choose a color.${T}: Add one mana of the chosen color.|