Implemented Octoprophet

This commit is contained in:
Evan Kranzler 2019-06-17 17:50:32 -04:00
parent dfd2fdc2b2
commit 7e9ec1fb4a
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,37 @@
package mage.cards.o;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.keyword.ScryEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class Octoprophet extends CardImpl {
public Octoprophet(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "3U");
this.subtype.add(SubType.OCTOPUS);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// When Octoprophet enters the battlefield, scry 2.
this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(2)));
}
private Octoprophet(final Octoprophet card) {
super(card);
}
@Override
public Octoprophet copy() {
return new Octoprophet(this);
}
}

View file

@ -40,6 +40,7 @@ public final class CoreSet2020 extends ExpansionSet {
cards.add(new SetCardInfo("Empyrean Eagle", 208, Rarity.UNCOMMON, mage.cards.e.EmpyreanEagle.class));
cards.add(new SetCardInfo("Infuriate", 145, Rarity.COMMON, mage.cards.i.Infuriate.class));
cards.add(new SetCardInfo("Leyline of Sanctity", 26, Rarity.RARE, mage.cards.l.LeylineOfSanctity.class));
cards.add(new SetCardInfo("Octoprophet", 70, Rarity.COMMON, mage.cards.o.Octoprophet.class));
cards.add(new SetCardInfo("Unsummon", 78, Rarity.COMMON, mage.cards.u.Unsummon.class));
}
}