diff --git a/Mage.Sets/src/mage/cards/i/IllustriousHistorian.java b/Mage.Sets/src/mage/cards/i/IllustriousHistorian.java new file mode 100644 index 0000000000..d7428f2027 --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/IllustriousHistorian.java @@ -0,0 +1,50 @@ +package mage.cards.i; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.ExileSourceFromGraveCost; +import mage.abilities.costs.mana.GenericManaCost; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.Zone; +import mage.game.permanent.token.LoreholdToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class IllustriousHistorian extends CardImpl { + + public IllustriousHistorian(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{R}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.SHAMAN); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // {5}, Exile Illustrious Historian from your graveyard: Create a tapped 3/2 red and white Spirit creature token. + Ability ability = new SimpleActivatedAbility( + Zone.GRAVEYARD, + new CreateTokenEffect( + new LoreholdToken(), 1, true, false + ), new GenericManaCost(5) + ); + ability.addCost(new ExileSourceFromGraveCost()); + this.addAbility(ability); + } + + private IllustriousHistorian(final IllustriousHistorian card) { + super(card); + } + + @Override + public IllustriousHistorian copy() { + return new IllustriousHistorian(this); + } +} diff --git a/Mage.Sets/src/mage/cards/l/LoreholdCommand.java b/Mage.Sets/src/mage/cards/l/LoreholdCommand.java index 7b7a62f1a6..0eb8f24319 100644 --- a/Mage.Sets/src/mage/cards/l/LoreholdCommand.java +++ b/Mage.Sets/src/mage/cards/l/LoreholdCommand.java @@ -18,7 +18,7 @@ import mage.constants.Outcome; import mage.filter.StaticFilters; import mage.game.Game; import mage.game.permanent.Permanent; -import mage.game.permanent.token.SpiritRedWhiteToken; +import mage.game.permanent.token.LoreholdToken; import mage.players.Player; import mage.target.TargetPlayer; import mage.target.common.TargetAnyTarget; @@ -38,7 +38,7 @@ public final class LoreholdCommand extends CardImpl { this.getSpellAbility().getModes().setMaxModes(2); // • Create a 3/2 red and white Spirit creature token. - this.getSpellAbility().addEffect(new CreateTokenEffect(new SpiritRedWhiteToken())); + this.getSpellAbility().addEffect(new CreateTokenEffect(new LoreholdToken())); // • Creatures you control get +1/+0 and gain indestructible and haste until end of turn. Mode mode = new Mode(new BoostControlledEffect( diff --git a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java index ea4c1774ab..20cf197ad2 100644 --- a/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java +++ b/Mage.Sets/src/mage/sets/StrixhavenSchoolOfMages.java @@ -49,6 +49,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet { cards.add(new SetCardInfo("Go Blank", 72, Rarity.UNCOMMON, mage.cards.g.GoBlank.class)); cards.add(new SetCardInfo("Grinning Ignus", 104, Rarity.UNCOMMON, mage.cards.g.GrinningIgnus.class)); cards.add(new SetCardInfo("Heated Debate", 106, Rarity.COMMON, mage.cards.h.HeatedDebate.class)); + cards.add(new SetCardInfo("Illustrious Historian", 109, Rarity.COMMON, mage.cards.i.IllustriousHistorian.class)); cards.add(new SetCardInfo("Introduction to Annihilation", 3, Rarity.COMMON, mage.cards.i.IntroductionToAnnihilation.class)); cards.add(new SetCardInfo("Introduction to Prophecy", 4, Rarity.COMMON, mage.cards.i.IntroductionToProphecy.class)); cards.add(new SetCardInfo("Island", 368, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS)); diff --git a/Mage/src/main/java/mage/game/permanent/token/SpiritRedWhiteToken.java b/Mage/src/main/java/mage/game/permanent/token/LoreholdToken.java similarity index 66% rename from Mage/src/main/java/mage/game/permanent/token/SpiritRedWhiteToken.java rename to Mage/src/main/java/mage/game/permanent/token/LoreholdToken.java index 6671b9f977..90b354e650 100644 --- a/Mage/src/main/java/mage/game/permanent/token/SpiritRedWhiteToken.java +++ b/Mage/src/main/java/mage/game/permanent/token/LoreholdToken.java @@ -7,9 +7,9 @@ import mage.constants.SubType; /** * @author TheElk801 */ -public final class SpiritRedWhiteToken extends TokenImpl { +public final class LoreholdToken extends TokenImpl { - public SpiritRedWhiteToken() { + public LoreholdToken() { super("Spirit", "3/2 red and white Spirit creature token"); cardType.add(CardType.CREATURE); color.setRed(true); @@ -19,12 +19,12 @@ public final class SpiritRedWhiteToken extends TokenImpl { toughness = new MageInt(2); } - private SpiritRedWhiteToken(final SpiritRedWhiteToken token) { + private LoreholdToken(final LoreholdToken token) { super(token); } @Override - public SpiritRedWhiteToken copy() { - return new SpiritRedWhiteToken(this); + public LoreholdToken copy() { + return new LoreholdToken(this); } }