forked from External/mage
[FIN] Implement Call the Mountain Chocobo
This commit is contained in:
parent
ecec7e4476
commit
403c1c253a
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/c/CallTheMountainChocobo.java
Normal file
47
Mage.Sets/src/mage/cards/c/CallTheMountainChocobo.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.abilities.keyword.FlashbackAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.game.permanent.token.ChocoboToken;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CallTheMountainChocobo extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("Mountain card");
|
||||
|
||||
static {
|
||||
filter.add(SubType.MOUNTAIN.getPredicate());
|
||||
}
|
||||
|
||||
public CallTheMountainChocobo(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}");
|
||||
|
||||
// Search your library for a Mountain card, reveal it, put it into your hand, then shuffle. 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 SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true));
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new ChocoboToken()));
|
||||
|
||||
// Flashback {5}{R}
|
||||
this.addAbility(new FlashbackAbility(this, new ManaCostsImpl<>("{5}{R}")));
|
||||
}
|
||||
|
||||
private CallTheMountainChocobo(final CallTheMountainChocobo card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CallTheMountainChocobo copy() {
|
||||
return new CallTheMountainChocobo(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -85,6 +85,7 @@ public final class FinalFantasy extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Buster Sword", 255, Rarity.MYTHIC, mage.cards.b.BusterSword.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Buster Sword", 351, Rarity.MYTHIC, mage.cards.b.BusterSword.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Cactuar", 177, Rarity.UNCOMMON, mage.cards.c.Cactuar.class));
|
||||
cards.add(new SetCardInfo("Call the Mountain Chocobo", 131, Rarity.COMMON, mage.cards.c.CallTheMountainChocobo.class));
|
||||
cards.add(new SetCardInfo("Capital City", 274, Rarity.UNCOMMON, mage.cards.c.CapitalCity.class));
|
||||
cards.add(new SetCardInfo("Cargo Ship", 47, Rarity.UNCOMMON, mage.cards.c.CargoShip.class));
|
||||
cards.add(new SetCardInfo("Cecil, Dark Knight", 380, Rarity.RARE, mage.cards.c.CecilDarkKnight.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue