mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
- [KHM] Added Wings of the Cosmos
This commit is contained in:
parent
708a486eb6
commit
72c4369899
3 changed files with 52 additions and 1 deletions
50
Mage.Sets/src/mage/cards/w/WingsOfTheCosmos.java
Normal file
50
Mage.Sets/src/mage/cards/w/WingsOfTheCosmos.java
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package mage.cards.w;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.UntapTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
* @author jeffwadsworth
|
||||
*/
|
||||
public final class WingsOfTheCosmos extends CardImpl {
|
||||
|
||||
public WingsOfTheCosmos(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{W}");
|
||||
|
||||
// Target creature gets +1/+3 and gains flying until end of turn. Untap it.
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
Effect effect = new BoostTargetEffect(1, 3, Duration.EndOfTurn);
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
effect.setText("Target creature gets +1/+3");
|
||||
effect = new GainAbilityTargetEffect(FlyingAbility.getInstance(), Duration.EndOfTurn);
|
||||
effect.setText("and gains flying until end of turn.");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
effect = new UntapTargetEffect();
|
||||
effect.setText("Untap it.");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
|
||||
}
|
||||
|
||||
public WingsOfTheCosmos(final WingsOfTheCosmos card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WingsOfTheCosmos copy() {
|
||||
return new WingsOfTheCosmos(this);
|
||||
}
|
||||
}
|
|
@ -35,7 +35,7 @@ import mage.target.common.TargetCreaturePermanent;
|
|||
public final class Withercrown extends CardImpl {
|
||||
|
||||
public Withercrown(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{G}{W}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.AURA);
|
||||
|
||||
|
|
|
@ -200,6 +200,7 @@ public final class Kaldheim extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Waking the Trolls", 234, Rarity.RARE, mage.cards.w.WakingTheTrolls.class));
|
||||
cards.add(new SetCardInfo("Warchanter Skald", 381, Rarity.UNCOMMON, mage.cards.w.WarchanterSkald.class));
|
||||
cards.add(new SetCardInfo("Weathered Runestone", 247, Rarity.UNCOMMON, mage.cards.w.WeatheredRunestone.class));
|
||||
cards.add(new SetCardInfo("Wings of the Cosmos", 39, Rarity.COMMON, mage.cards.w.WingsOfTheCosmos.class));
|
||||
cards.add(new SetCardInfo("Withercrown", 119, Rarity.COMMON, mage.cards.w.Withercrown.class));
|
||||
cards.add(new SetCardInfo("Woodland Chasm", 274, Rarity.COMMON, mage.cards.w.WoodlandChasm.class));
|
||||
cards.add(new SetCardInfo("Youthful Valkyrie", 382, Rarity.UNCOMMON, mage.cards.y.YouthfulValkyrie.class));
|
||||
|
|
Loading…
Reference in a new issue