[FDN] Implement Dazzling Angel

This commit is contained in:
theelk801 2024-11-02 11:03:17 -04:00
parent f365287e75
commit 3045b94435
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,44 @@
package mage.cards.d;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class DazzlingAngel extends CardImpl {
public DazzlingAngel(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}");
this.subtype.add(SubType.ANGEL);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Whenever another creature you control enters, you gain 1 life.
this.addAbility(new EntersBattlefieldAllTriggeredAbility(
new GainLifeEffect(1), StaticFilters.FILTER_ANOTHER_CREATURE_YOU_CONTROL
));
}
private DazzlingAngel(final DazzlingAngel card) {
super(card);
}
@Override
public DazzlingAngel copy() {
return new DazzlingAngel(this);
}
}

View file

@ -117,6 +117,7 @@ public final class Foundations extends ExpansionSet {
cards.add(new SetCardInfo("Dauntless Veteran", 8, Rarity.UNCOMMON, mage.cards.d.DauntlessVeteran.class));
cards.add(new SetCardInfo("Dawnwing Marshal", 570, Rarity.UNCOMMON, mage.cards.d.DawnwingMarshal.class));
cards.add(new SetCardInfo("Day of Judgment", 140, Rarity.RARE, mage.cards.d.DayOfJudgment.class));
cards.add(new SetCardInfo("Dazzling Angel", 9, Rarity.COMMON, mage.cards.d.DazzlingAngel.class));
cards.add(new SetCardInfo("Deadly Brew", 654, Rarity.UNCOMMON, mage.cards.d.DeadlyBrew.class));
cards.add(new SetCardInfo("Deadly Plot", 520, Rarity.UNCOMMON, mage.cards.d.DeadlyPlot.class));
cards.add(new SetCardInfo("Deadly Riposte", 492, Rarity.COMMON, mage.cards.d.DeadlyRiposte.class));