[VOW] Implemented Blood Hypnotist

This commit is contained in:
Evan Kranzler 2021-11-03 08:21:14 -04:00
parent a04aa13c01
commit 41119f69bf
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,56 @@
package mage.cards.b;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.CantBlockAbility;
import mage.abilities.common.SacrificePermanentTriggeredAbility;
import mage.abilities.effects.common.combat.CantBlockTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.filter.FilterPermanent;
import mage.filter.predicate.permanent.TokenPredicate;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BloodHypnotist extends CardImpl {
private static final FilterPermanent filter = new FilterPermanent(SubType.BLOOD, "one or more Blood tokens");
static {
filter.add(TokenPredicate.TRUE);
}
public BloodHypnotist(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
this.subtype.add(SubType.VAMPIRE);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Blood Hypnotist can't block.
this.addAbility(new CantBlockAbility());
// Whenever you sacrifice one or more Blood tokens, target creature can't block this turn. This ability triggers only once each turn.
Ability ability = new SacrificePermanentTriggeredAbility(
new CantBlockTargetEffect(Duration.EndOfTurn), filter
).setTriggersOnce(true);
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
private BloodHypnotist(final BloodHypnotist card) {
super(card);
}
@Override
public BloodHypnotist copy() {
return new BloodHypnotist(this);
}
}

View file

@ -40,6 +40,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
cards.add(new SetCardInfo("Archghoul of Thraben", 93, Rarity.UNCOMMON, mage.cards.a.ArchghoulOfThraben.class));
cards.add(new SetCardInfo("Ascendant Packleader", 186, Rarity.RARE, mage.cards.a.AscendantPackleader.class));
cards.add(new SetCardInfo("Belligerent Guest", 144, Rarity.COMMON, mage.cards.b.BelligerentGuest.class));
cards.add(new SetCardInfo("Blood Hypnotist", 145, Rarity.UNCOMMON, mage.cards.b.BloodHypnotist.class));
cards.add(new SetCardInfo("Bloodsworn Knight", 97, Rarity.UNCOMMON, mage.cards.b.BloodswornKnight.class));
cards.add(new SetCardInfo("Bloodsworn Squire", 97, Rarity.UNCOMMON, mage.cards.b.BloodswornSquire.class));
cards.add(new SetCardInfo("Blossom-Clad Werewolf", 226, Rarity.COMMON, mage.cards.b.BlossomCladWerewolf.class));