mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Queen of Ice
This commit is contained in:
parent
3b9a9d7645
commit
482f49e229
2 changed files with 58 additions and 0 deletions
57
Mage.Sets/src/mage/cards/q/QueenOfIce.java
Normal file
57
Mage.Sets/src/mage/cards/q/QueenOfIce.java
Normal file
|
@ -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
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue