[VOW] Implemented Vampires' Vengeance

This commit is contained in:
Evan Kranzler 2021-10-28 21:10:54 -04:00
parent e1f159d193
commit eb68350d04
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.v;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.DamageAllEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.Predicates;
import mage.game.permanent.token.BloodToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class VampiresVengeance extends CardImpl {
private static final FilterPermanent filter = new FilterCreaturePermanent("non-Vampire creature.");
static {
filter.add(Predicates.not(SubType.VAMPIRE.getPredicate()));
}
public VampiresVengeance(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{R}");
// Vampires' Vengeance deals 2 damage to each non-Vampire creature. Create a Blood token.
this.getSpellAbility().addEffect(new DamageAllEffect(2, filter));
this.getSpellAbility().addEffect(new CreateTokenEffect(new BloodToken()));
}
private VampiresVengeance(final VampiresVengeance card) {
super(card);
}
@Override
public VampiresVengeance copy() {
return new VampiresVengeance(this);
}
}

View file

@ -47,6 +47,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
cards.add(new SetCardInfo("Sundown Pass", 266, Rarity.RARE, mage.cards.s.SundownPass.class));
cards.add(new SetCardInfo("Swamp", 272, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Thalia, Guardian of Thraben", 38, Rarity.RARE, mage.cards.t.ThaliaGuardianOfThraben.class));
cards.add(new SetCardInfo("Vampires' Vengeance", 180, Rarity.UNCOMMON, mage.cards.v.VampiresVengeance.class));
cards.add(new SetCardInfo("Weary Prisoner", 184, Rarity.COMMON, mage.cards.w.WearyPrisoner.class));
cards.add(new SetCardInfo("Wrathful Jailbreaker", 184, Rarity.COMMON, mage.cards.w.WrathfulJailbreaker.class));