forked from External/mage
[DSK] Implement Winter's Intervention
This commit is contained in:
parent
884a8c7de6
commit
deeac92711
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/w/WintersIntervention.java
Normal file
34
Mage.Sets/src/mage/cards/w/WintersIntervention.java
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class WintersIntervention extends CardImpl {
|
||||
|
||||
public WintersIntervention(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}");
|
||||
|
||||
// Winter's Intervention deals 2 damage to target creature. You gain 2 life.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(2));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(2));
|
||||
}
|
||||
|
||||
private WintersIntervention(final WintersIntervention card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WintersIntervention copy() {
|
||||
return new WintersIntervention(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -200,6 +200,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Wary Watchdog", 206, Rarity.COMMON, mage.cards.w.WaryWatchdog.class));
|
||||
cards.add(new SetCardInfo("Wickerfolk Thresher", 207, Rarity.UNCOMMON, mage.cards.w.WickerfolkThresher.class));
|
||||
cards.add(new SetCardInfo("Wildfire Wickerfolk", 239, Rarity.UNCOMMON, mage.cards.w.WildfireWickerfolk.class));
|
||||
cards.add(new SetCardInfo("Winter's Intervention", 123, Rarity.COMMON, mage.cards.w.WintersIntervention.class));
|
||||
cards.add(new SetCardInfo("Winter, Misanthropic Guide", 240, Rarity.RARE, mage.cards.w.WinterMisanthropicGuide.class));
|
||||
cards.add(new SetCardInfo("Withering Torment", 124, Rarity.UNCOMMON, mage.cards.w.WitheringTorment.class));
|
||||
cards.add(new SetCardInfo("Zimone, All-Questioning", 241, Rarity.RARE, mage.cards.z.ZimoneAllQuestioning.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue