From a9938aa009ff23e622aec65ede2f76e53bb415a5 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 9 Jan 2021 22:08:36 -0500 Subject: [PATCH] [KHM] Implemented Undersea Invader --- .../src/mage/cards/u/UnderseaInvader.java | 41 +++++++++++++++++++ Mage.Sets/src/mage/sets/Kaldheim.java | 1 + Utils/mtg-cards-data.txt | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/u/UnderseaInvader.java diff --git a/Mage.Sets/src/mage/cards/u/UnderseaInvader.java b/Mage.Sets/src/mage/cards/u/UnderseaInvader.java new file mode 100644 index 0000000000..3ca11cd31e --- /dev/null +++ b/Mage.Sets/src/mage/cards/u/UnderseaInvader.java @@ -0,0 +1,41 @@ +package mage.cards.u; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.keyword.FlashAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class UnderseaInvader extends CardImpl { + + public UnderseaInvader(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{U}{U}"); + + this.subtype.add(SubType.GIANT); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(5); + this.toughness = new MageInt(6); + + // Flash + this.addAbility(FlashAbility.getInstance()); + + // Undersear Invade enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + } + + private UnderseaInvader(final UnderseaInvader card) { + super(card); + } + + @Override + public UnderseaInvader copy() { + return new UnderseaInvader(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index 29c169ac11..275f4782ad 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -116,6 +116,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("The World Tree", 275, Rarity.RARE, mage.cards.t.TheWorldTree.class)); cards.add(new SetCardInfo("Thornmantle Striker", 387, Rarity.UNCOMMON, mage.cards.t.ThornmantleStriker.class)); cards.add(new SetCardInfo("Toski, Bearer of Secrets", 197, Rarity.RARE, mage.cards.t.ToskiBearerOfSecrets.class)); + cards.add(new SetCardInfo("Undersea Invader", 78, Rarity.COMMON, mage.cards.u.UnderseaInvader.class)); cards.add(new SetCardInfo("Valkyrie Harbinger", 374, Rarity.RARE, mage.cards.v.ValkyrieHarbinger.class)); cards.add(new SetCardInfo("Varragoth, Bloodsky Sire", 115, Rarity.RARE, mage.cards.v.VarragothBloodskySire.class)); cards.add(new SetCardInfo("Village Rites", 117, Rarity.COMMON, mage.cards.v.VillageRites.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index b7d65d0bd6..bc228d88de 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -40036,7 +40036,7 @@ Inga Rune-Eyes|Kaldheim|64|U|{3}{U}|Legendary Creature - Human Wizard|3|3|When I Ravenform|Kaldheim|72|C|{2}{U}|Sorcery|||Exile target artifact or creature. Its controller creates a 1/1 blue Bird creature token with flying.$Foretell {U}| Reflections of Littjara|Kaldheim|73|R|{4}{U}|Enchantment|||As Reflections of Littjara enters the battlefield, choose a creature type.$Whenever you cast a spell of the chosen type, copy that spell.| Saw It Coming|Kaldheim|76|U|{1}{U}{U}|Instant|||Counter target spell.$Foretell {1}{U}| -Undersear Invader|Kaldheim|78|C|{4}{U}{U}|Creature - Giant Rogue|5|6|Flash$Undersear Invader enters the battlefield tapped.| +Undersea Invader|Kaldheim|78|C|{4}{U}{U}|Creature - Giant Rogue|5|6|Flash$Undersear Invade enters the battlefield tapped.| Hailstorm Valkyrie|Kaldheim|97|U|{3}{B}|Snow Creature - Angel Wizard|2|2|Flying, trample${S}{S}: Hailstorm Valkyrie gets +2/+2 until end of turn.| Koma's Faithful|Kaldheim|102|C|{2}{B}|Creature - Elf Cleric|3|1|Lifelink$When Koma's Faithful dies, each player mills three cards.| Tegrid, God of Fear|Kaldheim|112|R|{3}{B}{B}|Legendary Creature - God|4|5|Menace$Whenever an opponent sacrifices a nontoken permanent or discards a permanent card, you may put that card onto the battlefield under your control from their graveyard.|