From 1b0e88a04c284a056f617d3737359f4da39d0bb7 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Wed, 2 Sep 2020 10:12:28 -0400 Subject: [PATCH] [ZNR] Implemented Riverglide Pathway / Lavaglide Pathway --- .../src/mage/cards/l/LavaglidePathway.java | 33 +++++++++++++++++ .../src/mage/cards/r/RiverglidePathway.java | 35 +++++++++++++++++++ Mage.Sets/src/mage/sets/ZendikarRising.java | 2 ++ 3 files changed, 70 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/l/LavaglidePathway.java create mode 100644 Mage.Sets/src/mage/cards/r/RiverglidePathway.java diff --git a/Mage.Sets/src/mage/cards/l/LavaglidePathway.java b/Mage.Sets/src/mage/cards/l/LavaglidePathway.java new file mode 100644 index 0000000000..694eef1b97 --- /dev/null +++ b/Mage.Sets/src/mage/cards/l/LavaglidePathway.java @@ -0,0 +1,33 @@ +package mage.cards.l; + +import java.util.UUID; + +import mage.abilities.mana.RedManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * @author TheElk801 + */ +public final class LavaglidePathway extends CardImpl { + + public LavaglidePathway(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + this.nightCard = true; + this.transformable = true; + + // {T}: Add {R}. + this.addAbility(new RedManaAbility()); + } + + private LavaglidePathway(final LavaglidePathway card) { + super(card); + } + + @Override + public LavaglidePathway copy() { + return new LavaglidePathway(this); + } +} diff --git a/Mage.Sets/src/mage/cards/r/RiverglidePathway.java b/Mage.Sets/src/mage/cards/r/RiverglidePathway.java new file mode 100644 index 0000000000..d8dc3d514d --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RiverglidePathway.java @@ -0,0 +1,35 @@ +package mage.cards.r; + +import java.util.UUID; + +import mage.abilities.keyword.TransformAbility; +import mage.abilities.mana.RedManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * @author TheElk801 + */ +public final class RiverglidePathway extends CardImpl { + + public RiverglidePathway(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + this.transformable = true; + this.secondSideCardClazz = mage.cards.l.LavaglidePathway.class; + + // {T}: Add {U}. + this.addAbility(new RedManaAbility()); + this.addAbility(new TransformAbility()); + } + + private RiverglidePathway(final RiverglidePathway card) { + super(card); + } + + @Override + public RiverglidePathway copy() { + return new RiverglidePathway(this); + } +} diff --git a/Mage.Sets/src/mage/sets/ZendikarRising.java b/Mage.Sets/src/mage/sets/ZendikarRising.java index 0f8634e8eb..acb068e0bf 100644 --- a/Mage.Sets/src/mage/sets/ZendikarRising.java +++ b/Mage.Sets/src/mage/sets/ZendikarRising.java @@ -43,6 +43,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Island", 269, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS)); cards.add(new SetCardInfo("Jace, Mirror Mage", 63, Rarity.MYTHIC, mage.cards.j.JaceMirrorMage.class)); cards.add(new SetCardInfo("Kabira Outrider", 18, Rarity.COMMON, mage.cards.k.KabiraOutrider.class)); + cards.add(new SetCardInfo("Lavaglide Pathway", 264, Rarity.RARE, mage.cards.l.LavaglidePathway.class)); cards.add(new SetCardInfo("Legion Angel", 318, Rarity.RARE, mage.cards.l.LegionAngel.class)); cards.add(new SetCardInfo("Lotus Cobra", 193, Rarity.RARE, mage.cards.l.LotusCobra.class)); cards.add(new SetCardInfo("Might of Murasa", 194, Rarity.COMMON, mage.cards.m.MightOfMurasa.class)); @@ -55,6 +56,7 @@ public final class ZendikarRising extends ExpansionSet { cards.add(new SetCardInfo("Orah, Skyclave Hierophant", 233, Rarity.RARE, mage.cards.o.OrahSkyclaveHierophant.class)); cards.add(new SetCardInfo("Pillarverge Pathway", 263, Rarity.RARE, mage.cards.p.PillarvergePathway.class)); cards.add(new SetCardInfo("Plains", 266, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS)); + cards.add(new SetCardInfo("Riverglide Pathway", 264, Rarity.RARE, mage.cards.r.RiverglidePathway.class)); cards.add(new SetCardInfo("Ruin Crab", 75, Rarity.UNCOMMON, mage.cards.r.RuinCrab.class)); cards.add(new SetCardInfo("Shell Shield", 79, Rarity.COMMON, mage.cards.s.ShellShield.class)); cards.add(new SetCardInfo("Shepherd of Heroes", 38, Rarity.COMMON, mage.cards.s.ShepherdOfHeroes.class));