[LTR] Implement Book of Mazarbul

This commit is contained in:
theelk801 2023-06-01 08:01:16 -04:00
parent 4e7381510a
commit 7a2858a75b
3 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,67 @@
package mage.cards.b;
import mage.abilities.common.SagaAbility;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
import mage.abilities.effects.keyword.AmassEffect;
import mage.abilities.keyword.MenaceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SagaChapter;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BookOfMazarbul extends CardImpl {
public BookOfMazarbul(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{2}{R}");
this.subtype.add(SubType.SAGA);
// (As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)
SagaAbility sagaAbility = new SagaAbility(this);
// I -- Amass Orcs 1.
sagaAbility.addChapterEffect(
this, SagaChapter.CHAPTER_I,
new AmassEffect(1, SubType.ORC)
);
// II -- Amass Orcs 2.
sagaAbility.addChapterEffect(
this, SagaChapter.CHAPTER_II,
new AmassEffect(2, SubType.ORC)
.setText("amass Orcs 2")
);
// III -- Creatures you control get +1/+0 and gain menace until end of turn.
sagaAbility.addChapterEffect(
this, SagaChapter.CHAPTER_III,
new BoostControlledEffect(
1, 0, Duration.EndOfTurn
).setText("creatures you control get +1/+0"),
new GainAbilityControlledEffect(
new MenaceAbility(false), Duration.EndOfTurn,
StaticFilters.FILTER_PERMANENT_CREATURE
).setText("and gain menace until end of turn")
);
this.addAbility(sagaAbility);
}
private BookOfMazarbul(final BookOfMazarbul card) {
super(card);
}
@Override
public BookOfMazarbul copy() {
return new BookOfMazarbul(this);
}
}

View file

@ -23,6 +23,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
cards.add(new SetCardInfo("Arwen's Gift", 39, Rarity.COMMON, mage.cards.a.ArwensGift.class));
cards.add(new SetCardInfo("Bilbo, Retired Burglar", 196, Rarity.UNCOMMON, mage.cards.b.BilboRetiredBurglar.class));
cards.add(new SetCardInfo("Bombadil's Song", 154, Rarity.COMMON, mage.cards.b.BombadilsSong.class));
cards.add(new SetCardInfo("Book of Mazarbul", 116, Rarity.UNCOMMON, mage.cards.b.BookOfMazarbul.class));
cards.add(new SetCardInfo("Call of the Ring", 79, Rarity.RARE, mage.cards.c.CallOfTheRing.class));
cards.add(new SetCardInfo("Cast into the Fire", 118, Rarity.COMMON, mage.cards.c.CastIntoTheFire.class));
cards.add(new SetCardInfo("Council's Deliberation", 48, Rarity.UNCOMMON, mage.cards.c.CouncilsDeliberation.class));

View file

@ -48862,6 +48862,7 @@ Snarling Warg|The Lord of the Rings: Tales of Middle-earth|109|C|{3}{B}|Creature
The Torment of Gollum|The Lord of the Rings: Tales of Middle-earth|110|C|{3}{B}|Sorcery|||Target opponent reveals their hand. You choose a nonland card from it. That player discards that card.$Amass Orcs 2.|
Voracious Fell Beast|The Lord of the Rings: Tales of Middle-earth|113|U|{4}{B}{B}|Creature - Drake Beast|4|4|Flying$When Voracious Fell Beast enters the battlefield, each opponent sacrifices a creature. Create a Food token for each creature sacrificed this way.|
Witch-king of Angmar|The Lord of the Rings: Tales of Middle-earth|114|M|{3}{B}{B}|Legendary Creature - Wraith Noble|5|3|Flying$Whenever one or more creatures deal combat damage to you, each opponent sacrifices a creature that dealt combat damage to you this turn. The Ring tempts you.$Discard a card: Witch-king of Angmar gains indestructible until end of turn. Tap it.|
Book of Mazarbul|The Lord of the Rings: Tales of Middle-earth|116|U|{2}{R}|Enchantment - Saga|||(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)$I -- Amass Orcs 1.$II -- Amass Orcs 2.$III -- Creatures you control get +1/+0 and gain menace until end of turn.|
Cast into the Fire|The Lord of the Rings: Tales of Middle-earth|118|C|{1}{R}|Instant|||Choose one --$* Cast into the Fire deals 1 damage to each of up to two target creatures.$* Exile target artifact.|
Eomer, Marshal of Rohan|The Lord of the Rings: Tales of Middle-earth|120|R|{2}{R}{R}|Legendary Creature - Human Knight|4|4|Haste$Whenever one or more other attacking legendary creatures you control die, untap all creatures you control. After this phase, there is an additional combat phase. This ability triggers only once each turn.|
Fire of Orthanc|The Lord of the Rings: Tales of Middle-earth|127|C|{3}{R}|Sorcery|||Destroy target artifact or land. Creatures without flying can't block this turn.|