From 1e9e19606a74a7c372255da382c1395da804a55f Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 10 Jan 2020 18:16:50 -0500 Subject: [PATCH] Implemented Labyrinth of Skophos --- .../src/mage/cards/l/LabyrinthOfSkophos.java | 44 +++++++++++++++++++ .../src/mage/sets/TherosBeyondDeath.java | 1 + 2 files changed, 45 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/l/LabyrinthOfSkophos.java diff --git a/Mage.Sets/src/mage/cards/l/LabyrinthOfSkophos.java b/Mage.Sets/src/mage/cards/l/LabyrinthOfSkophos.java new file mode 100644 index 0000000000..95b99432f3 --- /dev/null +++ b/Mage.Sets/src/mage/cards/l/LabyrinthOfSkophos.java @@ -0,0 +1,44 @@ +package mage.cards.l; + +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.RemoveFromCombatTargetEffect; +import mage.abilities.mana.ColorlessManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetAttackingOrBlockingCreature; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class LabyrinthOfSkophos extends CardImpl { + + public LabyrinthOfSkophos(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.LAND}, ""); + + // {T}: Add {C}. + this.addAbility(new ColorlessManaAbility()); + + // {4}, {T}: Remove target attacking or blocking creature from combat. + Ability ability = new SimpleActivatedAbility( + new RemoveFromCombatTargetEffect(), new GenericManaCost(4) + ); + ability.addCost(new TapSourceCost()); + ability.addTarget(new TargetAttackingOrBlockingCreature()); + this.addAbility(ability); + } + + private LabyrinthOfSkophos(final LabyrinthOfSkophos card) { + super(card); + } + + @Override + public LabyrinthOfSkophos copy() { + return new LabyrinthOfSkophos(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java index 88dbffe500..6c0e01b1f4 100644 --- a/Mage.Sets/src/mage/sets/TherosBeyondDeath.java +++ b/Mage.Sets/src/mage/sets/TherosBeyondDeath.java @@ -111,6 +111,7 @@ public final class TherosBeyondDeath extends ExpansionSet { cards.add(new SetCardInfo("Klothys's Design", 176, Rarity.UNCOMMON, mage.cards.k.KlothyssDesign.class)); cards.add(new SetCardInfo("Klothys, God of Destiny", 220, Rarity.MYTHIC, mage.cards.k.KlothysGodOfDestiny.class)); cards.add(new SetCardInfo("Kunoros, Hound of Athreos", 222, Rarity.RARE, mage.cards.k.KunorosHoundOfAthreos.class)); + cards.add(new SetCardInfo("Labyrinth of Skophos", 243, Rarity.RARE, mage.cards.l.LabyrinthOfSkophos.class)); cards.add(new SetCardInfo("Lagonna-Band Storyteller", 27, Rarity.UNCOMMON, mage.cards.l.LagonnaBandStoryteller.class)); cards.add(new SetCardInfo("Leonin of the Lost Pride", 28, Rarity.COMMON, mage.cards.l.LeoninOfTheLostPride.class)); cards.add(new SetCardInfo("Loathsome Chimera", 177, Rarity.COMMON, mage.cards.l.LoathsomeChimera.class));