From 6aaa398962adb7e102263bdfbee2db9b2802fe80 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Tue, 8 Sep 2020 17:27:02 -0400 Subject: [PATCH] [ZNR] Implemented Skyclave Squid --- Mage.Sets/src/mage/cards/s/SkyclaveSquid.java | 42 +++++++++++++++++++ Mage.Sets/src/mage/sets/ZendikarRising.java | 1 + Utils/mtg-cards-data.txt | 1 + 3 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/s/SkyclaveSquid.java diff --git a/Mage.Sets/src/mage/cards/s/SkyclaveSquid.java b/Mage.Sets/src/mage/cards/s/SkyclaveSquid.java new file mode 100644 index 00000000000..7260be01cc7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SkyclaveSquid.java @@ -0,0 +1,42 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.common.LandfallAbility; +import mage.abilities.effects.common.combat.CanAttackAsThoughItDidntHaveDefenderSourceEffect; +import mage.abilities.keyword.DefenderAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SkyclaveSquid extends CardImpl { + + public SkyclaveSquid(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}"); + + this.subtype.add(SubType.SQUID); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // Defender + this.addAbility(DefenderAbility.getInstance()); + + // Landfall — Whenever a land enters the battlefield under your control, Skyclave Squid can attack this turn as though it didn't have defender. + this.addAbility(new LandfallAbility(new CanAttackAsThoughItDidntHaveDefenderSourceEffect(Duration.EndOfTurn))); + } + + private SkyclaveSquid(final SkyclaveSquid card) { + super(card); + } + + @Override + public SkyclaveSquid copy() { + return new SkyclaveSquid(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index 662950d461a..ff108f7c9e6 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -288,6 +288,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Skyclave Geopede", 163, Rarity.UNCOMMON, mage.cards.s.SkyclaveGeopede.class)); cards.add(new SetCardInfo("Skyclave Pick-Axe", 204, Rarity.UNCOMMON, mage.cards.s.SkyclavePickAxe.class)); cards.add(new SetCardInfo("Skyclave Relic", 252, Rarity.RARE, mage.cards.s.SkyclaveRelic.class)); + cards.add(new SetCardInfo("Skyclave Squid", 82, Rarity.COMMON, mage.cards.s.SkyclaveSquid.class)); cards.add(new SetCardInfo("Smite the Monstrous", 42, Rarity.COMMON, mage.cards.s.SmiteTheMonstrous.class)); cards.add(new SetCardInfo("Sneaking Guide", 164, Rarity.COMMON, mage.cards.s.SneakingGuide.class)); cards.add(new SetCardInfo("Song-Mad Ruins", 165, Rarity.UNCOMMON, mage.cards.s.SongMadRuins.class)); diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 2b84e642696..bed470f67aa 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -38811,6 +38811,7 @@ Shell Shield|Zendikar Rising|79|C|{U}|Instant|||Kicker {1}$Target creature you c Silundi Isle|Zendikar Rising|80|U||Land|||Silundi Isle enters the battlefield tapped.${T}: Add {U}.| Silundi Vision|Zendikar Rising|80|U|{2}{U}|Instant|||Look at the top six cards of your library. You may reveal an instant or sorcery card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.| Skyclave Plunder|Zendikar Rising|81|U|{4}{U}|Sorcery|||Look at the top X cards of your library, where X is three plus the number of creatures in your party. Put three of those cards into your hand and the rest on the bottom of your library in a random order.| +Skyclave Squid|Zendikar Rising|82|C|{1}{U}|Creature - Squid|3|2|Defender$Landfall — Whenever a land enters the battlefield under your control, Skyclave Squid can attack this turn as though it didn't have defender.| Sure-Footed Infiltrator|Zendikar Rising|83|U|{3}{U}|Creature - Merfolk Rogue|2|3|Tap another untapped Rogue you control: Sure-Footed Infiltrator can't be blocked this turn.$Whenever Sure-Footed Infiltrator deals combat damage to a player, draw a card.| Thieving Skydiver|Zendikar Rising|85|R|{1}{U}|Creature - Merfolk Rogue|2|1|Kicker {X}. X can't be 0.$Flying$When Thieving Skydiver enters the battlefield, if it was kicked, gain control of target artifact with converted mana cost X or less. If that artifact is an Equipment, attach it to Thieving Skydiver.| Umara Skyfalls|Zendikar Rising|86|U||Land|||Umara Skyfalls enters the battlefield tapped.${T}: Add {U}.|