[CMR] Implemented Feast of Succession

This commit is contained in:
Evan Kranzler 2020-11-06 08:05:18 -05:00
parent bea8549058
commit 6c5339c737
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,33 @@
package mage.cards.f;
import mage.abilities.effects.common.BecomesMonarchSourceEffect;
import mage.abilities.effects.common.continuous.BoostAllEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class FeastOfSuccession extends CardImpl {
public FeastOfSuccession(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}{B}");
// All creatures get -4/-4 until end of turn. You become the monarch.
this.getSpellAbility().addEffect(new BoostAllEffect(-4, -4, Duration.EndOfTurn));
this.getSpellAbility().addEffect(new BecomesMonarchSourceEffect().setText("You become the monarch"));
}
private FeastOfSuccession(final FeastOfSuccession card) {
super(card);
}
@Override
public FeastOfSuccession copy() {
return new FeastOfSuccession(this);
}
}

View file

@ -162,6 +162,7 @@ public final class CommanderLegends extends ExpansionSet {
cards.add(new SetCardInfo("Falthis, Shadowcat Familiar", 126, Rarity.UNCOMMON, mage.cards.f.FalthisShadowcatFamiliar.class)); cards.add(new SetCardInfo("Falthis, Shadowcat Familiar", 126, Rarity.UNCOMMON, mage.cards.f.FalthisShadowcatFamiliar.class));
cards.add(new SetCardInfo("Farhaven Elf", 225, Rarity.COMMON, mage.cards.f.FarhavenElf.class)); cards.add(new SetCardInfo("Farhaven Elf", 225, Rarity.COMMON, mage.cards.f.FarhavenElf.class));
cards.add(new SetCardInfo("Fathom Mage", 445, Rarity.RARE, mage.cards.f.FathomMage.class)); cards.add(new SetCardInfo("Fathom Mage", 445, Rarity.RARE, mage.cards.f.FathomMage.class));
cards.add(new SetCardInfo("Feast of Succession", 127, Rarity.UNCOMMON, mage.cards.f.FeastOfSuccession.class));
cards.add(new SetCardInfo("Fencing Ace", 21, Rarity.UNCOMMON, mage.cards.f.FencingAce.class)); cards.add(new SetCardInfo("Fencing Ace", 21, Rarity.UNCOMMON, mage.cards.f.FencingAce.class));
cards.add(new SetCardInfo("Fertilid", 226, Rarity.COMMON, mage.cards.f.Fertilid.class)); cards.add(new SetCardInfo("Fertilid", 226, Rarity.COMMON, mage.cards.f.Fertilid.class));
cards.add(new SetCardInfo("Fiery Cannonade", 178, Rarity.COMMON, mage.cards.f.FieryCannonade.class)); cards.add(new SetCardInfo("Fiery Cannonade", 178, Rarity.COMMON, mage.cards.f.FieryCannonade.class));