diff --git a/Mage.Sets/src/mage/cards/d/DawnhartWardens.java b/Mage.Sets/src/mage/cards/d/DawnhartWardens.java new file mode 100644 index 0000000000..6f926a31fd --- /dev/null +++ b/Mage.Sets/src/mage/cards/d/DawnhartWardens.java @@ -0,0 +1,51 @@ +package mage.cards.d; + +import mage.MageInt; +import mage.abilities.common.BeginningOfCombatTriggeredAbility; +import mage.abilities.condition.common.CovenCondition; +import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility; +import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.abilities.hint.common.CovenHint; +import mage.abilities.keyword.VigilanceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.*; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class DawnhartWardens extends CardImpl { + + public DawnhartWardens(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}{W}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.WARLOCK); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Vigilance + this.addAbility(VigilanceAbility.getInstance()); + + // Coven — At the beginning of combat on your turn, if you control three or more creatures with different powers, creatures you control get +1/+0 until end of turn. + this.addAbility(new ConditionalInterveningIfTriggeredAbility( + new BeginningOfCombatTriggeredAbility( + new BoostControlledEffect(1, 0, Duration.EndOfTurn), + TargetController.YOU, false + ), CovenCondition.instance, "At the beginning of combat on your turn, " + + "if you control three or more creatures with different powers, " + + "creatures you control get +1/+0 until end of turn." + ).addHint(CovenHint.instance).setAbilityWord(AbilityWord.COVEN)); + } + + private DawnhartWardens(final DawnhartWardens card) { + super(card); + } + + @Override + public DawnhartWardens copy() { + return new DawnhartWardens(this); + } +} diff --git a/Mage.Sets/src/mage/cards/r/RitualOfHope.java b/Mage.Sets/src/mage/cards/r/RitualOfHope.java index 8aca3b3b8b..0f9e2c5f13 100644 --- a/Mage.Sets/src/mage/cards/r/RitualOfHope.java +++ b/Mage.Sets/src/mage/cards/r/RitualOfHope.java @@ -4,6 +4,7 @@ import mage.abilities.Ability; import mage.abilities.condition.common.CovenCondition; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.continuous.BoostControlledEffect; +import mage.abilities.hint.common.CovenHint; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.AbilityWord; @@ -25,6 +26,7 @@ public final class RitualOfHope extends CardImpl { // Creatures you control get +1/+1 until end of turn. // Coven — If you control three or more creatures with different powers, creatures you control get +2/+1 until end of turn instead. this.getSpellAbility().addEffect(new RitualOfHopeEffect()); + this.getSpellAbility().addHint(CovenHint.instance); } private RitualOfHope(final RitualOfHope card) { diff --git a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java index 93603fe486..7a8765ed54 100644 --- a/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java +++ b/Mage.Sets/src/mage/sets/InnistradMidnightHunt.java @@ -49,6 +49,7 @@ public final class InnistradMidnightHunt extends ExpansionSet { cards.add(new SetCardInfo("Contortionist Troupe", 178, Rarity.UNCOMMON, mage.cards.c.ContortionistTroupe.class)); cards.add(new SetCardInfo("Croaking Counterpart", 215, Rarity.RARE, mage.cards.c.CroakingCounterpart.class)); cards.add(new SetCardInfo("Dawnhart Rejuvenator", 180, Rarity.COMMON, mage.cards.d.DawnhartRejuvenator.class)); + cards.add(new SetCardInfo("Dawnhart Wardens", 308, Rarity.UNCOMMON, mage.cards.d.DawnhartWardens.class)); cards.add(new SetCardInfo("Defend the Celestus", 182, Rarity.UNCOMMON, mage.cards.d.DefendTheCelestus.class)); cards.add(new SetCardInfo("Defenestrate", 95, Rarity.COMMON, mage.cards.d.Defenestrate.class)); cards.add(new SetCardInfo("Delver of Secrets", 47, Rarity.UNCOMMON, mage.cards.d.DelverOfSecrets.class));