From bc43041ec959a95901e3b6e73956a492ce6cba29 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 9 Apr 2020 20:31:27 -0400 Subject: [PATCH] Implemented Zagoth Triome --- Mage.Sets/src/mage/cards/z/ZagothTriome.java | 48 +++++++++++++++++++ .../src/mage/sets/IkoriaLairOfBehemoths.java | 1 + Utils/mtg-cards-data.txt | 2 +- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/cards/z/ZagothTriome.java diff --git a/Mage.Sets/src/mage/cards/z/ZagothTriome.java b/Mage.Sets/src/mage/cards/z/ZagothTriome.java new file mode 100644 index 0000000000..ba11f10e79 --- /dev/null +++ b/Mage.Sets/src/mage/cards/z/ZagothTriome.java @@ -0,0 +1,48 @@ +package mage.cards.z; + +import mage.abilities.common.EntersBattlefieldTappedAbility; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.keyword.CyclingAbility; +import mage.abilities.mana.BlackManaAbility; +import mage.abilities.mana.BlueManaAbility; +import mage.abilities.mana.GreenManaAbility; +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 ZagothTriome extends CardImpl { + + public ZagothTriome(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + this.subtype.add(SubType.SWAMP); + this.subtype.add(SubType.FOREST); + this.subtype.add(SubType.ISLAND); + + // ({T}: Add {B}, {G}, or {U}.) + this.addAbility(new BlackManaAbility()); + this.addAbility(new GreenManaAbility()); + this.addAbility(new BlueManaAbility()); + + // Zagoth Triome enters the battlefield tapped. + this.addAbility(new EntersBattlefieldTappedAbility()); + + // Cycling {3} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{3}"))); + } + + private ZagothTriome(final ZagothTriome card) { + super(card); + } + + @Override + public ZagothTriome copy() { + return new ZagothTriome(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index 1894f7fbe9..84ab1ccf37 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -176,6 +176,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { cards.add(new SetCardInfo("Wingfold Pteron", 71, Rarity.COMMON, mage.cards.w.WingfoldPteron.class)); cards.add(new SetCardInfo("Zagoth Crystal", 242, Rarity.UNCOMMON, mage.cards.z.ZagothCrystal.class)); cards.add(new SetCardInfo("Zagoth Mamba", 106, Rarity.UNCOMMON, mage.cards.z.ZagothMamba.class)); + cards.add(new SetCardInfo("Zagoth Triome", 259, Rarity.RARE, mage.cards.z.ZagothTriome.class)); cards.add(new SetCardInfo("Zenith Flare", 217, Rarity.UNCOMMON, mage.cards.z.ZenithFlare.class)); cards.removeIf(setCardInfo -> mutateNames.contains(setCardInfo.getName())); // remove when mutate is implemented diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 74f6d05405..35b8eb86f7 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -37224,7 +37224,7 @@ Indatha Triome|Ikoria: Lair of Behemoths|248|R||Land - Plains Forest Swamp|||({T Ketria Triome|Ikoria: Lair of Behemoths|250|R||Land - Forest Island Mountain|||({T}: Add {G}, {U}, or {R}.)$Ketria Triome enters the battlefield tapped.$Cycling {3}| Raugrin Triome|Ikoria: Lair of Behemoths|251|R||Land - Island Mountain Plains|||({T}: Add {U}, {R}, or {W}.)$Raugrin Triome enters the battlefield tapped.$Cycling {3}| Savai Triome|Ikoria: Lair of Behemoths|253|R||Land - Mountain Plains Swamp|||({T}: Add {R}, {W}, or {B}.)$Savai Triome enters the battlefield tapped.$Cycling {3}| -Zogoth Triome|Ikoria: Lair of Behemoths|259|R||Land - Swamp Forest Island|||({T}: Add {B}, {G}, or {U}.)$Zogoth Triome enters the battlefield tapped.$Cycling {3}| +Zagoth Triome|Ikoria: Lair of Behemoths|259|R||Land - Swamp Forest Island|||({T}: Add {B}, {G}, or {U}.)$Zagoth Triome enters the battlefield tapped.$Cycling {3}| Zilortha, Strength Incarnate|Ikoria: Lair of Behemoths|275|M|{3}{R}{G}|Legendary Creature - Dinosaur|7|3|Trample$Lethal damage dealt to creatures you control is determined by their power rather than their toughness.| Luminous Broodmoth|Ikoria: Lair of Behemoths|316|M|{2}{W}{W}|Creature - Insect|3|4|Flying$Whenever a creature you control without flying dies, return it to the battlefield under its owner's control with a flying counter on it.| Keruga, the Macrosage|Ikoria: Lair of Behemoths|354|R|{3}{G/U}{G/U}|Legendary Creature - Dinosaur Hippo|5|4|Companion — Your starting deck contains only cards with converted mana cost 3 or greater and land cards.$When Keruga, the Macrosage enters the battlefield, draw a card for each other permanent you control with converted mana cost 3 or greater.|