mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
[STX] Implemented Eyetwitch
This commit is contained in:
parent
f89169ca44
commit
3051d17a2e
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/e/Eyetwitch.java
Normal file
42
Mage.Sets/src/mage/cards/e/Eyetwitch.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.LearnEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
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 Eyetwitch extends CardImpl {
|
||||
|
||||
public Eyetwitch(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{B}");
|
||||
|
||||
this.subtype.add(SubType.EYE);
|
||||
this.subtype.add(SubType.BAT);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When Eyetwitch dies, learn.
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new LearnEffect()));
|
||||
}
|
||||
|
||||
private Eyetwitch(final Eyetwitch card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Eyetwitch copy() {
|
||||
return new Eyetwitch(this);
|
||||
}
|
||||
}
|
|
@ -80,6 +80,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Expanded Anatomy", 2, Rarity.COMMON, mage.cards.e.ExpandedAnatomy.class));
|
||||
cards.add(new SetCardInfo("Expel", 18, Rarity.COMMON, mage.cards.e.Expel.class));
|
||||
cards.add(new SetCardInfo("Exponential Growth", 130, Rarity.RARE, mage.cards.e.ExponentialGrowth.class));
|
||||
cards.add(new SetCardInfo("Eyetwitch", 70, Rarity.UNCOMMON, mage.cards.e.Eyetwitch.class));
|
||||
cards.add(new SetCardInfo("Field Trip", 131, Rarity.COMMON, mage.cards.f.FieldTrip.class));
|
||||
cards.add(new SetCardInfo("First Day of Class", 102, Rarity.COMMON, mage.cards.f.FirstDayOfClass.class));
|
||||
cards.add(new SetCardInfo("Forest", 374, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
Loading…
Reference in a new issue