mirror of
https://github.com/correl/mage.git
synced 2025-01-15 19:13:24 +00:00
[VOW] Implemented Dying to Serve
This commit is contained in:
parent
8fe98c1984
commit
bfe803b0da
2 changed files with 35 additions and 0 deletions
34
Mage.Sets/src/mage/cards/d/DyingToServe.java
Normal file
34
Mage.Sets/src/mage/cards/d/DyingToServe.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.DiscardCardControllerTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.ZombieToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DyingToServe extends CardImpl {
|
||||
|
||||
public DyingToServe(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{B}");
|
||||
|
||||
// Whenever you discard one or more cards, create a tapped 2/2 black Zombie creature token. This ability triggers only once each turn.
|
||||
this.addAbility(new DiscardCardControllerTriggeredAbility(new CreateTokenEffect(
|
||||
new ZombieToken(), 1, true, false), false
|
||||
).setTriggerPhrase("Whenever you discard one or more cards, ").setTriggersOnce(true));
|
||||
}
|
||||
|
||||
private DyingToServe(final DyingToServe card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DyingToServe copy() {
|
||||
return new DyingToServe(this);
|
||||
}
|
||||
}
|
|
@ -65,6 +65,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Dreamroot Cascade", 262, Rarity.RARE, mage.cards.d.DreamrootCascade.class));
|
||||
cards.add(new SetCardInfo("Drogskol Armaments", 10, Rarity.COMMON, mage.cards.d.DrogskolArmaments.class));
|
||||
cards.add(new SetCardInfo("Drogskol Infantry", 10, Rarity.COMMON, mage.cards.d.DrogskolInfantry.class));
|
||||
cards.add(new SetCardInfo("Dying to Serve", 109, Rarity.RARE, mage.cards.d.DyingToServe.class));
|
||||
cards.add(new SetCardInfo("Fearful Villager", 157, Rarity.COMMON, mage.cards.f.FearfulVillager.class));
|
||||
cards.add(new SetCardInfo("Fearsome Werewolf", 157, Rarity.COMMON, mage.cards.f.FearsomeWerewolf.class));
|
||||
cards.add(new SetCardInfo("Fell Stinger", 112, Rarity.UNCOMMON, mage.cards.f.FellStinger.class));
|
||||
|
|
Loading…
Reference in a new issue