[VOW] Implemented Inspired Idea

This commit is contained in:
Evan Kranzler 2021-11-02 19:12:52 -04:00
parent 09d1f548b4
commit 1862ad6a2a
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.i;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.continuous.MaximumHandSizeControllerEffect;
import mage.abilities.keyword.CleaveAbility;
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 InspiredIdea extends CardImpl {
public InspiredIdea(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}");
// Cleave {3}{U}{U}
this.addAbility(new CleaveAbility(this, new DrawCardSourceControllerEffect(3), "{3}{U}{U}"));
// Draw three cards. [Your maximum hand size is reduced by three for the rest of the game.]
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3));
this.getSpellAbility().addEffect(new MaximumHandSizeControllerEffect(
3, Duration.EndOfGame, MaximumHandSizeControllerEffect.HandSizeModification.REDUCE
).setText("[Your maximum hand size is reduced by three for the rest of the game.]"));
}
private InspiredIdea(final InspiredIdea card) {
super(card);
}
@Override
public InspiredIdea copy() {
return new InspiredIdea(this);
}
}

View file

@ -72,6 +72,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
cards.add(new SetCardInfo("Hallowed Haunting", 17, Rarity.MYTHIC, mage.cards.h.HallowedHaunting.class));
cards.add(new SetCardInfo("Hero's Downfall", 120, Rarity.UNCOMMON, mage.cards.h.HerosDownfall.class));
cards.add(new SetCardInfo("Honored Heirloom", 257, Rarity.COMMON, mage.cards.h.HonoredHeirloom.class));
cards.add(new SetCardInfo("Inspired Idea", 64, Rarity.RARE, mage.cards.i.InspiredIdea.class));
cards.add(new SetCardInfo("Investigator's Journal", 258, Rarity.RARE, mage.cards.i.InvestigatorsJournal.class));
cards.add(new SetCardInfo("Island", 270, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Kessig Wolfrider", 165, Rarity.RARE, mage.cards.k.KessigWolfrider.class));