[ZNR] Implemented Malakir Bloodpriest

This commit is contained in:
Evan Kranzler 2020-09-04 17:50:51 -04:00
parent 2af2f14101
commit 5972890cf0
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.m;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.dynamicvalue.common.PartyCount;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
import mage.abilities.hint.common.PartyCountHint;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class MalakirBloodPriest extends CardImpl {
public MalakirBloodPriest(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
this.subtype.add(SubType.VAMPIRE);
this.subtype.add(SubType.CLERIC);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// When Malakir Blood-Priest enters the battlefield, each opponent loses X life and you gain X life, where X is your number of creatures in your party.
Ability ability = new EntersBattlefieldTriggeredAbility(
new LoseLifeOpponentsEffect(PartyCount.instance).setText("each opponent loses X life")
);
ability.addEffect(new GainLifeEffect(
PartyCount.instance, "and you gain X life, " +
"where X is your number of creatures in your party"
));
this.addAbility(ability.addHint(PartyCountHint.instance));
}
private MalakirBloodPriest(final MalakirBloodPriest card) {
super(card);
}
@Override
public MalakirBloodPriest copy() {
return new MalakirBloodPriest(this);
}
}

View file

@ -132,6 +132,7 @@ public final class ZendikarRising extends ExpansionSet {
cards.add(new SetCardInfo("Lotus Cobra", 193, Rarity.RARE, mage.cards.l.LotusCobra.class));
cards.add(new SetCardInfo("Lullmage's Familiar", 227, Rarity.UNCOMMON, mage.cards.l.LullmagesFamiliar.class));
cards.add(new SetCardInfo("Makindi Ox", 25, Rarity.COMMON, mage.cards.m.MakindiOx.class));
cards.add(new SetCardInfo("Malakir Blood-Priest", 110, Rarity.COMMON, mage.cards.m.MalakirBloodPriest.class));
cards.add(new SetCardInfo("Maul of the Skyclaves", 27, Rarity.RARE, mage.cards.m.MaulOfTheSkyclaves.class));
cards.add(new SetCardInfo("Merfolk Falconer", 69, Rarity.UNCOMMON, mage.cards.m.MerfolkFalconer.class));
cards.add(new SetCardInfo("Merfolk Windrobber", 70, Rarity.UNCOMMON, mage.cards.m.MerfolkWindrobber.class));