diff --git a/Mage.Sets/src/mage/cards/o/OminousSeas.java b/Mage.Sets/src/mage/cards/o/OminousSeas.java new file mode 100644 index 0000000000..1583f9e21d --- /dev/null +++ b/Mage.Sets/src/mage/cards/o/OminousSeas.java @@ -0,0 +1,51 @@ +package mage.cards.o; + +import mage.abilities.common.DrawCardControllerTriggeredAbility; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.RemoveCountersSourceCost; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.abilities.keyword.CyclingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.counters.CounterType; +import mage.game.permanent.token.KrakenToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class OminousSeas extends CardImpl { + + public OminousSeas(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{U}"); + + // Whenever you draw a card, put a foreshadow counter on Ominous Seas. + this.addAbility(new DrawCardControllerTriggeredAbility( + new AddCountersSourceEffect(CounterType.FORESHADOW.createInstance()), false + )); + + // Remove eight foreshadow counters from Ominous Seas: Create an 8/8 blue Kraken creature token. + this.addAbility(new SimpleActivatedAbility( + new CreateTokenEffect(new KrakenToken()), + new RemoveCountersSourceCost( + CounterType.FORESHADOW.createInstance(8) + ) + )); + + // Cycling {2} + this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}"))); + } + + private OminousSeas(final OminousSeas card) { + super(card); + } + + @Override + public OminousSeas copy() { + return new OminousSeas(this); + } +} diff --git a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java index d742b286c9..f7d1a54833 100644 --- a/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java +++ b/Mage.Sets/src/mage/sets/IkoriaLairOfBehemoths.java @@ -116,6 +116,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet { cards.add(new SetCardInfo("Mythos of Nethroi", 97, Rarity.RARE, mage.cards.m.MythosOfNethroi.class)); cards.add(new SetCardInfo("Nethroi, Apex of Death", 197, Rarity.MYTHIC, mage.cards.n.NethroiApexOfDeath.class)); cards.add(new SetCardInfo("Neutralize", 59, Rarity.UNCOMMON, mage.cards.n.Neutralize.class)); + cards.add(new SetCardInfo("Ominous Seas", 61, Rarity.UNCOMMON, mage.cards.o.OminousSeas.class)); cards.add(new SetCardInfo("Pacifism", 25, Rarity.COMMON, mage.cards.p.Pacifism.class)); cards.add(new SetCardInfo("Phase Dolphin", 62, Rarity.COMMON, mage.cards.p.PhaseDolphin.class)); cards.add(new SetCardInfo("Pollywog Symbiote", 63, Rarity.UNCOMMON, mage.cards.p.PollywogSymbiote.class)); diff --git a/Mage/src/main/java/mage/counters/CounterType.java b/Mage/src/main/java/mage/counters/CounterType.java index 6fa84212b8..9e2e5dae51 100644 --- a/Mage/src/main/java/mage/counters/CounterType.java +++ b/Mage/src/main/java/mage/counters/CounterType.java @@ -53,6 +53,7 @@ public enum CounterType { FIRST_STRIKE("first strike"), FLOOD("flood"), FLYING("flying"), + FORESHADOW("foreshadow"), FUNK("funk"), FURY("fury"), FUNGUS("fungus"), diff --git a/Mage/src/main/java/mage/game/permanent/token/KrakenToken.java b/Mage/src/main/java/mage/game/permanent/token/KrakenToken.java new file mode 100644 index 0000000000..2dc5194b46 --- /dev/null +++ b/Mage/src/main/java/mage/game/permanent/token/KrakenToken.java @@ -0,0 +1,31 @@ +package mage.game.permanent.token; + +import mage.MageInt; +import mage.ObjectColor; +import mage.constants.CardType; +import mage.constants.SubType; + +/** + * @author TheElk801 + */ + +public final class KrakenToken extends TokenImpl { + + public KrakenToken() { + super("Kraken", "8/8 blue Kraken creature token"); + this.cardType.add(CardType.CREATURE); + this.subtype.add(SubType.KRAKEN); + this.color = ObjectColor.BLUE; + this.power = new MageInt(8); + this.toughness = new MageInt(8); + } + + private KrakenToken(final KrakenToken token) { + super(token); + } + + public KrakenToken copy() { + return new KrakenToken(this); + } + +} \ No newline at end of file