[ZNR] Implemented Zof Consumption / Zof Bloodbog

This commit is contained in:
Evan Kranzler 2020-09-05 20:55:49 -04:00
parent 1da7bb4959
commit 6c60be5c85
3 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,37 @@
package mage.cards.z;
import mage.abilities.common.EntersBattlefieldTappedAbility;
import mage.abilities.mana.BlackManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ZofBloodbog extends CardImpl {
public ZofBloodbog(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
this.modalDFC = true;
this.nightCard = true;
// Zof Bloodbog enters the battlefield tapped.
this.addAbility(new EntersBattlefieldTappedAbility());
// {T}: Add {B}.
this.addAbility(new BlackManaAbility());
}
private ZofBloodbog(final ZofBloodbog card) {
super(card);
}
@Override
public ZofBloodbog copy() {
return new ZofBloodbog(this);
}
}

View file

@ -0,0 +1,35 @@
package mage.cards.z;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ZofConsumption extends CardImpl {
public ZofConsumption(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}{B}");
this.modalDFC = true;
this.secondSideCardClazz = mage.cards.z.ZofBloodbog.class;
// Each opponent loses 4 life and you gain 4 life.
this.getSpellAbility().addEffect(new LoseLifeOpponentsEffect(4));
this.getSpellAbility().addEffect(new GainLifeEffect(4).setText("and"));
}
private ZofConsumption(final ZofConsumption card) {
super(card);
}
@Override
public ZofConsumption copy() {
return new ZofConsumption(this);
}
}

View file

@ -221,6 +221,8 @@ public final class ZendikarRising extends ExpansionSet {
cards.add(new SetCardInfo("Utility Knife", 256, Rarity.COMMON, mage.cards.u.UtilityKnife.class));
cards.add(new SetCardInfo("Veteran Adventurer", 218, Rarity.UNCOMMON, mage.cards.v.VeteranAdventurer.class));
cards.add(new SetCardInfo("Windrider Wizard", 87, Rarity.UNCOMMON, mage.cards.w.WindriderWizard.class));
cards.add(new SetCardInfo("Zof Bloodbog", 132, Rarity.UNCOMMON, mage.cards.z.ZofBloodbog.class));
cards.add(new SetCardInfo("Zof Consumption", 132, Rarity.UNCOMMON, mage.cards.z.ZofConsumption.class));
cards.add(new SetCardInfo("Zulaport Duelist", 88, Rarity.COMMON, mage.cards.z.ZulaportDuelist.class));
cards.removeIf(setCardInfo -> unfinished.contains(setCardInfo.getName())); // remove when mechanics are fully implemented