[BLB] Implement Frilled Sparkshooter

This commit is contained in:
theelk801 2024-07-18 15:04:48 -04:00
parent afe3516a32
commit 68ea4f1343
2 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,55 @@
package mage.cards.f;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldAbility;
import mage.abilities.condition.common.OpponentsLostLifeCondition;
import mage.abilities.decorator.ConditionalOneShotEffect;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.hint.common.OpponentsLostLifeHint;
import mage.abilities.keyword.MenaceAbility;
import mage.abilities.keyword.ReachAbility;
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 FrilledSparkshooter extends CardImpl {
public FrilledSparkshooter(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
this.subtype.add(SubType.LIZARD);
this.subtype.add(SubType.ARCHER);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Menace
this.addAbility(new MenaceAbility());
// Reach
this.addAbility(ReachAbility.getInstance());
// Frilled Sparkshooter enters with a +1/+1 counter on it if an opponent lost life this turn.
this.addAbility(new EntersBattlefieldAbility(
new ConditionalOneShotEffect(
new AddCountersSourceEffect(CounterType.P1P1.createInstance()),
OpponentsLostLifeCondition.instance, ""
), "with a +1/+1 counter on it if an opponent lost life this turn"
).addHint(OpponentsLostLifeHint.instance));
}
private FrilledSparkshooter(final FrilledSparkshooter card) {
super(card);
}
@Override
public FrilledSparkshooter copy() {
return new FrilledSparkshooter(this);
}
}

View file

@ -80,6 +80,7 @@ public final class Bloomburrow extends ExpansionSet {
cards.add(new SetCardInfo("Forest", 278, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Fountainport Bell", 245, Rarity.COMMON, mage.cards.f.FountainportBell.class));
cards.add(new SetCardInfo("Fountainport", 253, Rarity.RARE, mage.cards.f.Fountainport.class));
cards.add(new SetCardInfo("Frilled Sparkshooter", 136, Rarity.COMMON, mage.cards.f.FrilledSparkshooter.class));
cards.add(new SetCardInfo("Galewind Moose", 173, Rarity.UNCOMMON, mage.cards.g.GalewindMoose.class));
cards.add(new SetCardInfo("Giant Growth", 393, Rarity.COMMON, mage.cards.g.GiantGrowth.class));
cards.add(new SetCardInfo("Glidedive Duo", 96, Rarity.COMMON, mage.cards.g.GlidediveDuo.class));