[FDN] Implement Kiora, the Rising Tide

This commit is contained in:
ciaccona007 2024-11-04 09:01:24 -05:00
parent d8f8905894
commit a387c5ed67
5 changed files with 88 additions and 0 deletions

View file

@ -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();

View file

@ -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);
}
}

View file

@ -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));

View file

@ -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);
}
}

View file

@ -2397,3 +2397,4 @@
# FDN
|Generate|TOK:FDN|Ninja|||NinjaToken2|
|Generate|TOK:FDN|Scion of the Deep|||ScionOfTheDeepToken|