From 482f49e229158dde36e79843d5b517bdb47a4d26 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Sat, 21 Sep 2019 15:43:11 -0400 Subject: [PATCH] Implemented Queen of Ice --- Mage.Sets/src/mage/cards/q/QueenOfIce.java | 57 +++++++++++++++++++ Mage.Sets/src/mage/sets/ThroneOfEldraine.java | 1 + 2 files changed, 58 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/q/QueenOfIce.java diff --git a/Mage.Sets/src/mage/cards/q/QueenOfIce.java b/Mage.Sets/src/mage/cards/q/QueenOfIce.java new file mode 100644 index 0000000000..0bbbf185f4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/q/QueenOfIce.java @@ -0,0 +1,57 @@ +package mage.cards.q; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.DealsDamageToACreatureTriggeredAbility; +import mage.abilities.effects.common.DontUntapInControllersNextUntapStepTargetEffect; +import mage.abilities.effects.common.TapTargetEffect; +import mage.cards.AdventureCard; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class QueenOfIce extends AdventureCard { + + public QueenOfIce(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.SORCERY}, "{2}{U}", "Rage of Winter", "{1}{U}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.NOBLE); + this.subtype.add(SubType.WIZARD); + this.power = new MageInt(2); + this.toughness = new MageInt(3); + + // Whenever Queen of Ice deals combat damage to a creature, tap that creature. It doesn't untap during its controller's next untap step. + Ability ability = new DealsDamageToACreatureTriggeredAbility( + new TapTargetEffect().setText("tap that creature."), + true, false, true + ); + ability.addEffect(new DontUntapInControllersNextUntapStepTargetEffect() + .setText("It doesn't untap during its controller's next untap step") + ); + this.addAbility(ability); + + // Rage of Winter + // Tap target creature. It doesn’t untap during its controller’s next untap step. + this.getAdventureSpellAbility().addEffect(new TapTargetEffect()); + this.getAdventureSpellAbility().addEffect(new DontUntapInControllersNextUntapStepTargetEffect() + .setText("It doesn't untap during its controller's next untap step")); + this.getAdventureSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + private QueenOfIce(final QueenOfIce card) { + super(card); + } + + @Override + public QueenOfIce copy() { + return new QueenOfIce(this); + } +} +// let it go diff --git a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java index 8461fe8500..8052a5d039 100644 --- a/Mage.Sets/src/mage/sets/ThroneOfEldraine.java +++ b/Mage.Sets/src/mage/sets/ThroneOfEldraine.java @@ -209,6 +209,7 @@ public final class ThroneOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Plains", 253, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Prized Griffin", 24, Rarity.COMMON, mage.cards.p.PrizedGriffin.class)); cards.add(new SetCardInfo("Prophet of the Peak", 227, Rarity.COMMON, mage.cards.p.ProphetOfThePeak.class)); + cards.add(new SetCardInfo("Queen of Ice", 61, Rarity.COMMON, mage.cards.q.QueenOfIce.class)); cards.add(new SetCardInfo("Questing Beast", 171, Rarity.MYTHIC, mage.cards.q.QuestingBeast.class)); cards.add(new SetCardInfo("Raging Redcap", 134, Rarity.COMMON, mage.cards.r.RagingRedcap.class)); cards.add(new SetCardInfo("Rally for the Throne", 25, Rarity.UNCOMMON, mage.cards.r.RallyForTheThrone.class));