mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
[BLB] Implement Feed the Cycle
This commit is contained in:
parent
1d8c1039e0
commit
2eb38f23f2
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/f/FeedTheCycle.java
Normal file
40
Mage.Sets/src/mage/cards/f/FeedTheCycle.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.f;
|
||||
|
||||
import mage.abilities.costs.OrCost;
|
||||
import mage.abilities.costs.common.ForageCost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class FeedTheCycle extends CardImpl {
|
||||
|
||||
public FeedTheCycle(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{B}");
|
||||
|
||||
// As an additional cost to cast this spell, forage or pay {B}.
|
||||
this.getSpellAbility().addCost(new OrCost(
|
||||
"forage or pay {B}", new ForageCost(), new ManaCostsImpl<>("{B}")
|
||||
));
|
||||
|
||||
// Destroy target creature or planeswalker.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreatureOrPlaneswalker());
|
||||
}
|
||||
|
||||
private FeedTheCycle(final FeedTheCycle card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FeedTheCycle copy() {
|
||||
return new FeedTheCycle(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -52,6 +52,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Emberheart Challenger", 133, Rarity.RARE, mage.cards.e.EmberheartChallenger.class));
|
||||
cards.add(new SetCardInfo("Fabled Passage", 252, Rarity.RARE, mage.cards.f.FabledPassage.class));
|
||||
cards.add(new SetCardInfo("Feather of Flight", 13, Rarity.UNCOMMON, mage.cards.f.FeatherOfFlight.class));
|
||||
cards.add(new SetCardInfo("Feed the Cycle", 94, Rarity.UNCOMMON, mage.cards.f.FeedTheCycle.class));
|
||||
cards.add(new SetCardInfo("Fell", 95, Rarity.UNCOMMON, mage.cards.f.Fell.class));
|
||||
cards.add(new SetCardInfo("Finch Formation", 50, Rarity.COMMON, mage.cards.f.FinchFormation.class));
|
||||
cards.add(new SetCardInfo("Finneas, Ace Archer", 212, Rarity.RARE, mage.cards.f.FinneasAceArcher.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue