[KHM] Implemented Warhorn Blast

This commit is contained in:
Evan Kranzler 2021-01-18 20:26:48 -05:00
parent db4abcd05a
commit a562199c95
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,35 @@
package mage.cards.w;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.keyword.ForetellAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class WarhornBlast extends CardImpl {
public WarhornBlast(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{W}");
// Creatures you control get +2/+1 until end of turn.
this.getSpellAbility().addEffect(new BoostControlledEffect(2, 1, Duration.EndOfTurn));
// Foretell {2}{W}
this.addAbility(new ForetellAbility(this, "{2}{W}"));
}
private WarhornBlast(final WarhornBlast card) {
super(card);
}
@Override
public WarhornBlast copy() {
return new WarhornBlast(this);
}
}

View file

@ -299,6 +299,7 @@ public final class Kaldheim extends ExpansionSet {
cards.add(new SetCardInfo("Volatile Fjord", 273, Rarity.COMMON, mage.cards.v.VolatileFjord.class));
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("Warhorn Blast", 38, Rarity.COMMON, mage.cards.w.WarhornBlast.class));
cards.add(new SetCardInfo("Weathered Runestone", 247, Rarity.UNCOMMON, mage.cards.w.WeatheredRunestone.class));
cards.add(new SetCardInfo("Weigh Down", 118, Rarity.COMMON, mage.cards.w.WeighDown.class));
cards.add(new SetCardInfo("Wings of the Cosmos", 39, Rarity.COMMON, mage.cards.w.WingsOfTheCosmos.class));