From dff22591a11fb85c095575cc03c67f6670e8a317 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Fri, 22 Jun 2018 13:25:43 -0400 Subject: [PATCH] Implemented Aegis of the Heavens --- .../src/mage/cards/a/AegisOfTheHeavens.java | 33 +++++++++++++++++++ Mage.Sets/src/mage/sets/CoreSet2019.java | 1 + 2 files changed, 34 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/a/AegisOfTheHeavens.java diff --git a/Mage.Sets/src/mage/cards/a/AegisOfTheHeavens.java b/Mage.Sets/src/mage/cards/a/AegisOfTheHeavens.java new file mode 100644 index 0000000000..b31d109eb7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AegisOfTheHeavens.java @@ -0,0 +1,33 @@ +package mage.cards.a; + +import java.util.UUID; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.target.common.TargetCreaturePermanent; + +/** + * + * @author TheElk801 + */ +public final class AegisOfTheHeavens extends CardImpl { + + public AegisOfTheHeavens(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{W}"); + + // Target creature gets +1/+7 until end of turn. + this.getSpellAbility().addEffect(new BoostTargetEffect(3, 3, Duration.EndOfTurn)); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + public AegisOfTheHeavens(final AegisOfTheHeavens card) { + super(card); + } + + @Override + public AegisOfTheHeavens copy() { + return new AegisOfTheHeavens(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2019.java b/Mage.Sets/src/mage/sets/CoreSet2019.java index 16b49e1e7d..3f30572955 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2019.java +++ b/Mage.Sets/src/mage/sets/CoreSet2019.java @@ -30,6 +30,7 @@ public final class CoreSet2019 extends ExpansionSet { cards.add(new SetCardInfo("Abnormal Endurance", 85, Rarity.COMMON, mage.cards.a.AbnormalEndurance.class)); cards.add(new SetCardInfo("Act of Treason", 127, Rarity.COMMON, mage.cards.a.ActOfTreason.class)); + cards.add(new SetCardInfo("Aegis of the Heavens", 1, Rarity.UNCOMMON, mage.cards.a.AegisOfTheHeavens.class)); cards.add(new SetCardInfo("Aerial Engineer", 211, Rarity.UNCOMMON, mage.cards.a.AerialEngineer.class)); cards.add(new SetCardInfo("Aethershield Artificer", 2, Rarity.UNCOMMON, mage.cards.a.AethershieldArtificer.class)); cards.add(new SetCardInfo("Aggressive Mammoth", 302, Rarity.RARE, mage.cards.a.AggressiveMammoth.class));