mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[STX] Implemented Illustrious Historian
This commit is contained in:
parent
14248b02f0
commit
b8c83b4b51
4 changed files with 58 additions and 7 deletions
50
Mage.Sets/src/mage/cards/i/IllustriousHistorian.java
Normal file
50
Mage.Sets/src/mage/cards/i/IllustriousHistorian.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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(
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue