[FIN] Implement Gysahl Greens

This commit is contained in:
theelk801 2025-05-27 08:25:25 -04:00
parent e7fa4d50d1
commit b5eb09e31a
3 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,36 @@
package mage.cards.g;
import java.util.UUID;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlashbackAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.game.permanent.token.BirdLandfallToken;
/**
*
* @author TheElk801
*/
public final class GysahlGreens extends CardImpl {
public GysahlGreens(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}");
// Create a 2/2 green Bird creature token with "Whenever a land you control enters, this token gets +1/+0 until end of turn."
this.getSpellAbility().addEffect(new CreateTokenEffect(new BirdLandfallToken()));
// Flashback {6}{G}
this.addAbility(new FlashbackAbility(this, new ManaCostsImpl<>("{6}{G}")));
}
private GysahlGreens(final GysahlGreens card) {
super(card);
}
@Override
public GysahlGreens copy() {
return new GysahlGreens(this);
}
}

View file

@ -195,6 +195,7 @@ public final class FinalFantasy extends ExpansionSet {
cards.add(new SetCardInfo("Gohn, Town of Ruin", 278, Rarity.COMMON, mage.cards.g.GohnTownOfRuin.class));
cards.add(new SetCardInfo("Gongaga, Reactor Town", 280, Rarity.COMMON, mage.cards.g.GongagaReactorTown.class));
cards.add(new SetCardInfo("Guadosalam, Farplane Gateway", 281, Rarity.COMMON, mage.cards.g.GuadosalamFarplaneGateway.class));
cards.add(new SetCardInfo("Gysahl Greens", 190, Rarity.COMMON, mage.cards.g.GysahlGreens.class));
cards.add(new SetCardInfo("Hades, Sorcerer of Eld", 218, Rarity.MYTHIC, mage.cards.h.HadesSorcererOfEld.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Hades, Sorcerer of Eld", 394, Rarity.MYTHIC, mage.cards.h.HadesSorcererOfEld.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Hades, Sorcerer of Eld", 483, Rarity.MYTHIC, mage.cards.h.HadesSorcererOfEld.class, NON_FULL_USE_VARIOUS));

View file

@ -0,0 +1,34 @@
package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.common.LandfallAbility;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
/**
* @author LoneFox
*/
public final class BirdLandfallToken extends TokenImpl {
public BirdLandfallToken() {
super("Bird Token", "2/2 green Bird creature token with \"Whenever a land you control enters, this token gets +1/+0 until end of turn.\"");
cardType.add(CardType.CREATURE);
color.setGreen(true);
subtype.add(SubType.BIRD);
power = new MageInt(2);
toughness = new MageInt(2);
addAbility(new LandfallAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn)).setAbilityWord(null));
}
private BirdLandfallToken(final BirdLandfallToken token) {
super(token);
}
@Override
public BirdLandfallToken copy() {
return new BirdLandfallToken(this);
}
}