mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[STX] implemented Eager First-Year
This commit is contained in:
parent
10afd4205d
commit
73888133eb
3 changed files with 44 additions and 0 deletions
39
Mage.Sets/src/mage/cards/e/EagerFirstYear.java
Normal file
39
Mage.Sets/src/mage/cards/e/EagerFirstYear.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.MagecraftAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EagerFirstYear extends CardImpl {
|
||||
|
||||
public EagerFirstYear(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Magecraft - Whenever you cast or copy an instant or sorcery spell, Eager First-Year gets +1/+0 until end of turn.
|
||||
this.addAbility(new MagecraftAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn)));
|
||||
}
|
||||
|
||||
private EagerFirstYear(final EagerFirstYear card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EagerFirstYear copy() {
|
||||
return new EagerFirstYear(this);
|
||||
}
|
||||
}
|
|
@ -27,6 +27,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
|
|||
this.ratioBoosterMythic = 7.4;
|
||||
this.maxCardNumberInBooster = 275;
|
||||
|
||||
cards.add(new SetCardInfo("Eager First-Year", 16, Rarity.COMMON, mage.cards.e.EagerFirstYear.class));
|
||||
cards.add(new SetCardInfo("Kasmina, Enigma Sage", 196, Rarity.MYTHIC, mage.cards.k.KasminaEnigmaSage.class));
|
||||
cards.add(new SetCardInfo("Lorehold Command", 199, Rarity.RARE, mage.cards.l.LoreholdCommand.class));
|
||||
cards.add(new SetCardInfo("Prismari Command", 214, Rarity.RARE, mage.cards.p.PrismariCommand.class));
|
||||
|
|
|
@ -12,6 +12,10 @@ import mage.game.stack.Spell;
|
|||
*/
|
||||
public class MagecraftAbility extends TriggeredAbilityImpl {
|
||||
|
||||
public MagecraftAbility(Effect effect) {
|
||||
this(effect, false);
|
||||
}
|
||||
|
||||
public MagecraftAbility(Effect effect, boolean optional) {
|
||||
super(Zone.BATTLEFIELD, effect, optional);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue