mirror of
https://github.com/correl/mage.git
synced 2024-12-28 11:14:13 +00:00
[VOW] Implemented Inspired Idea
This commit is contained in:
parent
09d1f548b4
commit
1862ad6a2a
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/i/InspiredIdea.java
Normal file
39
Mage.Sets/src/mage/cards/i/InspiredIdea.java
Normal 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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue