diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java index 973ea02ceac..4f519a3c10a 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/ScryfallImageSupportTokens.java @@ -2460,6 +2460,7 @@ public class ScryfallImageSupportTokens { // FDN put("FDN/Emblem Kaito", "https://api.scryfall.com/cards/tfdn/24/en?format=image"); put("FDN/Ninja", "https://api.scryfall.com/cards/tfdn/12/en?format=image"); + put("FDN/Scion of the Deep", "https://api.scryfall.com/cards/tfdn/13/en?format=image"); // generate supported sets supportedSets.clear(); diff --git a/Mage.Sets/src/mage/cards/k/KioraTheRisingTide.java b/Mage.Sets/src/mage/cards/k/KioraTheRisingTide.java new file mode 100644 index 00000000000..8d47f26d2b2 --- /dev/null +++ b/Mage.Sets/src/mage/cards/k/KioraTheRisingTide.java @@ -0,0 +1,58 @@ +package mage.cards.k; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.condition.common.ThresholdCondition; +import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.DrawDiscardControllerEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.AbilityWord; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.game.permanent.token.ScionOfTheDeepToken; + +import java.util.UUID; + +/** + * + * @author ciaccona007 + */ +public final class KioraTheRisingTide extends CardImpl { + + public KioraTheRisingTide(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}"); + + this.supertype.add(SuperType.LEGENDARY); + this.subtype.add(SubType.MERFOLK); + this.subtype.add(SubType.NOBLE); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // When Kiora enters, draw two cards, then discard two cards. + this.addAbility(new EntersBattlefieldTriggeredAbility( + new DrawDiscardControllerEffect(2, 2) + )); + + // Threshold -- Whenever Kiora attacks, if there are seven or more cards in your graveyard, you may create Scion of the Deep, a legendary 8/8 blue Octopus creature token. + this.addAbility(new ConditionalInterveningIfTriggeredAbility( + new AttacksTriggeredAbility(new CreateTokenEffect(new ScionOfTheDeepToken()), true), + ThresholdCondition.instance, "Whenever {this} attacks, if there are seven " + + "or more cards in your graveyard, you may create " + + "Scion of the Deep, a legendary 8/8 blue Octopus creature token." + ).setAbilityWord(AbilityWord.THRESHOLD)); + + } + + private KioraTheRisingTide(final KioraTheRisingTide card) { + super(card); + } + + @Override + public KioraTheRisingTide copy() { + return new KioraTheRisingTide(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Foundations.java b/Mage.Sets/src/mage/sets/Foundations.java index 5f093517726..7a9954c1bd7 100644 --- a/Mage.Sets/src/mage/sets/Foundations.java +++ b/Mage.Sets/src/mage/sets/Foundations.java @@ -291,6 +291,7 @@ public final class Foundations extends ExpansionSet { cards.add(new SetCardInfo("Kargan Dragonrider", 541, Rarity.COMMON, mage.cards.k.KarganDragonrider.class)); cards.add(new SetCardInfo("Kellan, Planar Trailblazer", 91, Rarity.RARE, mage.cards.k.KellanPlanarTrailblazer.class)); cards.add(new SetCardInfo("Kindled Fury", 542, Rarity.COMMON, mage.cards.k.KindledFury.class)); + cards.add(new SetCardInfo("Kiora, the Rising Tide", 45, Rarity.RARE, mage.cards.k.KioraTheRisingTide.class)); cards.add(new SetCardInfo("Kitesail Corsair", 510, Rarity.COMMON, mage.cards.k.KitesailCorsair.class)); cards.add(new SetCardInfo("Knight of Grace", 576, Rarity.UNCOMMON, mage.cards.k.KnightOfGrace.class)); cards.add(new SetCardInfo("Knight of Malice", 608, Rarity.UNCOMMON, mage.cards.k.KnightOfMalice.class)); diff --git a/Mage/src/main/java/mage/game/permanent/token/ScionOfTheDeepToken.java b/Mage/src/main/java/mage/game/permanent/token/ScionOfTheDeepToken.java new file mode 100644 index 00000000000..60ab4aba237 --- /dev/null +++ b/Mage/src/main/java/mage/game/permanent/token/ScionOfTheDeepToken.java @@ -0,0 +1,27 @@ +package mage.game.permanent.token; + +import mage.MageInt; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; + +public final class ScionOfTheDeepToken extends TokenImpl { + + public ScionOfTheDeepToken() { + super("Scion of the Deep", "Scion of the Deep, a legendary 8/8 blue Octopus creature token"); + supertype.add(SuperType.LEGENDARY); + cardType.add(CardType.CREATURE); + color.setBlue(true); + subtype.add(SubType.OCTOPUS); + power = new MageInt(8); + toughness = new MageInt(8); + } + + private ScionOfTheDeepToken(final ScionOfTheDeepToken token) { + super(token); + } + + public ScionOfTheDeepToken copy() { + return new ScionOfTheDeepToken(this); + } +} diff --git a/Mage/src/main/resources/tokens-database.txt b/Mage/src/main/resources/tokens-database.txt index 4c11d03ac33..e290397663a 100644 --- a/Mage/src/main/resources/tokens-database.txt +++ b/Mage/src/main/resources/tokens-database.txt @@ -2397,3 +2397,4 @@ # FDN |Generate|TOK:FDN|Ninja|||NinjaToken2| +|Generate|TOK:FDN|Scion of the Deep|||ScionOfTheDeepToken| \ No newline at end of file