mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
[AFR] Implemented Wight
This commit is contained in:
parent
00bf7bb98e
commit
ed2ad3fe0e
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/w/Wight.java
Normal file
47
Mage.Sets/src/mage/cards/w/Wight.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DealtDamageAndDiedTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTappedAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.ExileTargetEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.ZombieToken;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author weirddan455
|
||||
*/
|
||||
public final class Wight extends CardImpl {
|
||||
|
||||
public Wight(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.ZOMBIE);
|
||||
this.subtype.add(SubType.SOLDIER);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Wight enters the battlefield tapped.
|
||||
this.addAbility(new EntersBattlefieldTappedAbility());
|
||||
|
||||
// Life Drain — Whenever a creature dealt damage by Wight this turn dies, create a tapped 2/2 black Zombie creature token and exile that card.
|
||||
Ability ability = new DealtDamageAndDiedTriggeredAbility(new CreateTokenEffect(new ZombieToken(), 1, true, false));
|
||||
ability.addEffect(new ExileTargetEffect("and exile that card"));
|
||||
this.addAbility(ability.withFlavorWord("Life Drain"));
|
||||
}
|
||||
|
||||
private Wight(final Wight card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Wight copy() {
|
||||
return new Wight(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -172,6 +172,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Wandering Troubadour", 210, Rarity.UNCOMMON, mage.cards.w.WanderingTroubadour.class));
|
||||
cards.add(new SetCardInfo("Werewolf Pack Leader", 211, Rarity.RARE, mage.cards.w.WerewolfPackLeader.class));
|
||||
cards.add(new SetCardInfo("White Dragon", 41, Rarity.UNCOMMON, mage.cards.w.WhiteDragon.class));
|
||||
cards.add(new SetCardInfo("Wight", 127, Rarity.RARE, mage.cards.w.Wight.class));
|
||||
cards.add(new SetCardInfo("Wild Shape", 212, Rarity.UNCOMMON, mage.cards.w.WildShape.class));
|
||||
cards.add(new SetCardInfo("Xorn", 167, Rarity.RARE, mage.cards.x.Xorn.class));
|
||||
cards.add(new SetCardInfo("You Come to a River", 83, Rarity.COMMON, mage.cards.y.YouComeToARiver.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue