Implemented Flourishing Fox

This commit is contained in:
Evan Kranzler 2020-04-05 09:25:08 -04:00
parent a4e9b21b82
commit 824dd29e87
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.f;
import mage.MageInt;
import mage.abilities.common.CycleControllerTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.keyword.CyclingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class FlourishingFox extends CardImpl {
public FlourishingFox(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}");
this.subtype.add(SubType.FOX);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// Whenever you cycle another card, put a +1/+1 counter on Flourishing Fox.
this.addAbility(new CycleControllerTriggeredAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance())
));
// Cycling {1}
this.addAbility(new CyclingAbility(new ManaCostsImpl("{1}")));
}
private FlourishingFox(final FlourishingFox card) {
super(card);
}
@Override
public FlourishingFox copy() {
return new FlourishingFox(this);
}
}

View file

@ -41,6 +41,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
cards.add(new SetCardInfo("Dreamtail Heron", 47, Rarity.COMMON, mage.cards.d.DreamtailHeron.class));
cards.add(new SetCardInfo("Essence Scatter", 49, Rarity.COMMON, mage.cards.e.EssenceScatter.class));
cards.add(new SetCardInfo("Fertilid", 152, Rarity.COMMON, mage.cards.f.Fertilid.class));
cards.add(new SetCardInfo("Flourishing Fox", 13, Rarity.UNCOMMON, mage.cards.f.FlourishingFox.class));
cards.add(new SetCardInfo("Footfall Crater", 118, Rarity.UNCOMMON, mage.cards.f.FootfallCrater.class));
cards.add(new SetCardInfo("Fully Grown", 154, Rarity.COMMON, mage.cards.f.FullyGrown.class));
cards.add(new SetCardInfo("Gemrazer", 155, Rarity.RARE, mage.cards.g.Gemrazer.class));