diff --git a/Mage.Sets/src/mage/cards/a/AngelOfTheDawn.java b/Mage.Sets/src/mage/cards/a/AngelOfTheDawn.java new file mode 100644 index 0000000000..9cdbe5093a --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AngelOfTheDawn.java @@ -0,0 +1,55 @@ +package mage.cards.a; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.abilities.effects.common.continuous.GainAbilityControlledEffect; +import mage.constants.SubType; +import mage.abilities.keyword.FlyingAbility; +import mage.abilities.keyword.VigilanceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.filter.StaticFilters; + +/** + * + * @author TheElk801 + */ +public final class AngelOfTheDawn extends CardImpl { + + public AngelOfTheDawn(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}"); + + this.subtype.add(SubType.ANGEL); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // When Angel of the Dawn enters the battlefield, creatures you control get +1/+1 and gain vigilance until end of turn. + Ability ability = new EntersBattlefieldTriggeredAbility( + new BoostControlledEffect(1, 1, Duration.EndOfTurn) + .setText("creatures you control get +1/+1"), false + ); + ability.addEffect(new GainAbilityControlledEffect( + VigilanceAbility.getInstance(), + Duration.EndOfTurn, + StaticFilters.FILTER_PERMANENT_CREATURES + ).setText("and gain vigilance until end of turn")); + this.addAbility(ability); + } + + public AngelOfTheDawn(final AngelOfTheDawn card) { + super(card); + } + + @Override + public AngelOfTheDawn copy() { + return new AngelOfTheDawn(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2019.java b/Mage.Sets/src/mage/sets/CoreSet2019.java index 74ac00eb29..b8ef3d742b 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2019.java +++ b/Mage.Sets/src/mage/sets/CoreSet2019.java @@ -40,6 +40,7 @@ public final class CoreSet2019 extends ExpansionSet { cards.add(new SetCardInfo("Ajani, Wise Counselor", 281, Rarity.MYTHIC, mage.cards.a.AjaniWiseCounselor.class)); cards.add(new SetCardInfo("Alpine Moon", 128, Rarity.RARE, mage.cards.a.AlpineMoon.class)); cards.add(new SetCardInfo("Amulet of Safekeeping", 226, Rarity.RARE, mage.cards.a.AmuletOfSafekeeping.class)); + cards.add(new SetCardInfo("Angel of the Dawn", 7, Rarity.COMMON, mage.cards.a.AngelOfTheDawn.class)); cards.add(new SetCardInfo("Anticipate", 44, Rarity.COMMON, mage.cards.a.Anticipate.class)); cards.add(new SetCardInfo("Apex of Power", 129, Rarity.MYTHIC, mage.cards.a.ApexOfPower.class)); cards.add(new SetCardInfo("Arisen Gorgon", 292, Rarity.UNCOMMON, mage.cards.a.ArisenGorgon.class));