Implemented Arcane Encyclopedia

This commit is contained in:
Evan Kranzler 2018-06-21 22:28:07 -04:00
parent 46f536c601
commit eac59d4fb2
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,41 @@
package mage.cards.a;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Zone;
/**
*
* @author TheElk801
*/
public final class ArcaneEncyclopedia extends CardImpl {
public ArcaneEncyclopedia(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
// {3}, {T}: Draw a card.
Ability ability = new SimpleActivatedAbility(
Zone.BATTLEFIELD,
new DrawCardSourceControllerEffect(1),
new GenericManaCost(3)
);
ability.addCost(new TapSourceCost());
this.addAbility(ability);
}
public ArcaneEncyclopedia(final ArcaneEncyclopedia card) {
super(card);
}
@Override
public ArcaneEncyclopedia copy() {
return new ArcaneEncyclopedia(this);
}
}

View file

@ -45,6 +45,7 @@ public final class CoreSet2019 extends ExpansionSet {
cards.add(new SetCardInfo("Anticipate", 44, Rarity.COMMON, mage.cards.a.Anticipate.class));
cards.add(new SetCardInfo("Apex of Power", 129, Rarity.MYTHIC, mage.cards.a.ApexOfPower.class));
cards.add(new SetCardInfo("Arcades, the Strategist", 212, Rarity.MYTHIC, mage.cards.a.ArcadesTheStrategist.class));
cards.add(new SetCardInfo("Arcane Encyclopedia", 227, Rarity.UNCOMMON, mage.cards.a.ArcaneEncyclopedia.class));
cards.add(new SetCardInfo("Arisen Gorgon", 292, Rarity.UNCOMMON, mage.cards.a.ArisenGorgon.class));
cards.add(new SetCardInfo("Aven Wind Mage", 45, Rarity.COMMON, mage.cards.a.AvenWindMage.class));
cards.add(new SetCardInfo("Aviation Pioneer", 46, Rarity.COMMON, mage.cards.a.AviationPioneer.class));