[C21] Implemented Octavia, Living Thesis

This commit is contained in:
Evan Kranzler 2021-04-08 17:48:26 -04:00
parent 16f1ae7b99
commit 9fc81c0722
3 changed files with 71 additions and 1 deletions

View file

@ -0,0 +1,69 @@
package mage.cards.o;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.MagecraftAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.condition.Condition;
import mage.abilities.condition.common.CardsInControllerGraveyardCondition;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount;
import mage.abilities.effects.common.continuous.SetPowerToughnessTargetEffect;
import mage.abilities.effects.common.cost.SpellCostReductionSourceEffect;
import mage.abilities.hint.Hint;
import mage.abilities.hint.ValueHint;
import mage.abilities.keyword.WardAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
import mage.filter.FilterCard;
import mage.filter.common.FilterInstantOrSorceryCard;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class OctaviaLivingThesis extends CardImpl {
private static final FilterCard filter = new FilterInstantOrSorceryCard("instant and/or sorcery cards");
private static final Condition condition = new CardsInControllerGraveyardCondition(8, filter);
private static final Hint hint = new ValueHint(
"Instants and sorceries in your graveyard", new CardsInControllerGraveyardCount(filter)
);
public OctaviaLivingThesis(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{8}{U}{U}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.ELEMENTAL);
this.subtype.add(SubType.OCTOPUS);
this.power = new MageInt(8);
this.toughness = new MageInt(8);
// This spell costs {8} less to cast if you have eight or more instant and/or sorcery cards in your graveyard.
this.addAbility(new SimpleStaticAbility(
Zone.ALL, new SpellCostReductionSourceEffect(8, condition).setCanWorksOnStackOnly(true)
).setRuleAtTheTop(true).addHint(hint));
// Ward {8}
this.addAbility(new WardAbility(new ManaCostsImpl<>("{8}")));
// Magecraft Whenever you cast an instant or sorcery spell, target creature has base power and toughness 8/8 until end of turn.
Ability ability = new MagecraftAbility(
new SetPowerToughnessTargetEffect(8, 8, Duration.EndOfTurn)
);
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability);
}
private OctaviaLivingThesis(final OctaviaLivingThesis card) {
super(card);
}
@Override
public OctaviaLivingThesis copy() {
return new OctaviaLivingThesis(this);
}
}

View file

@ -61,6 +61,7 @@ public final class Commander2021Edition extends ExpansionSet {
cards.add(new SetCardInfo("Mind Stone", 251, Rarity.COMMON, mage.cards.m.MindStone.class));
cards.add(new SetCardInfo("Monologue Tax", 19, Rarity.RARE, mage.cards.m.MonologueTax.class));
cards.add(new SetCardInfo("Myr Battlesphere", 253, Rarity.RARE, mage.cards.m.MyrBattlesphere.class));
cards.add(new SetCardInfo("Octavia, Living Thesis", 29, Rarity.RARE, mage.cards.o.OctaviaLivingThesis.class));
cards.add(new SetCardInfo("Oversimplify", 72, Rarity.RARE, mage.cards.o.Oversimplify.class));
cards.add(new SetCardInfo("Paradox Zone", 64, Rarity.RARE, mage.cards.p.ParadoxZone.class));
cards.add(new SetCardInfo("Perplexing Test", 30, Rarity.RARE, mage.cards.p.PerplexingTest.class));

View file

@ -40893,7 +40893,7 @@ Dazzling Sphinx|Commander 2021|25|R|{3}{U}{U}|Creature - Sphinx|4|5|Flying$Whene
Deekah, Fractal Theorist|Commander 2021|26|R|{4}{U}|Legendary Creature - Human Wizard|3|3|Magecraft — Whenever you cast or copy an instant or sorcery spell, create a 0/0 green and blue Fractal creature token. Put X +1/+1 counters on it, where X is that spell's mana value.${3}{U}: Target creature token can't be blocked this turn.|
Inspiring Refrain|Commander 2021|27|R|{4}{U}{U}|Sorcery|||Draw two cards. Exile Inspiring Refrain with three time counters on it.$Suspend 3—{2}{U}|
Muse Vortex|Commander 2021|28|R|{X}{U}{U}|Sorcery|||Exile the top X cards of your library. You may cast an instant or sorcery spell with mana value X or less from among them without paying its mana cost. Then put the exiled instant or sorcery cards that weren't cast this way into your hand the rest on the bottom of your library in a random order.|
Octavia, Living Thesis|Commander 2021|29|R|{8}{U}{U}|Legendarny Creature - Elemental Octopus|8|8|This spell costs {8} less to cast if you have eight or more instant and/or sorcery cards in your graveyard.$Ward {8}$Magecraft — Whenever you cast an instant or sorcery spell, target creature has base power and toughness 8/8 until end of turn.|
Octavia, Living Thesis|Commander 2021|29|R|{8}{U}{U}|Legendary Creature - Elemental Octopus|8|8|This spell costs {8} less to cast if you have eight or more instant and/or sorcery cards in your graveyard.$Ward {8}$Magecraft — Whenever you cast an instant or sorcery spell, target creature has base power and toughness 8/8 until end of turn.|
Perplexing Test|Commander 2021|30|R|{3}{U}{U}|Instant|||Choose one —$• Return all creature tokens to their owners' hands.$• Return all nontoken creatures to their owners' hands.|
Replication Technique|Commander 2021|31|R|{4}{U}|Sorcery|||Demonstrate$Create a token that's a copy of target permanent you control.|
Sly Instigator|Commander 2021|32|R|{3}{U}|Creature - Human Wizard|2|4|{U}, {T}: Until your next turn, target creature an opponent controls can't be blocked. Goad that creature.|