mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
[MID] Implemented Dawnhart Wardens
This commit is contained in:
parent
e4b467648a
commit
d12a690c3d
3 changed files with 54 additions and 0 deletions
51
Mage.Sets/src/mage/cards/d/DawnhartWardens.java
Normal file
51
Mage.Sets/src/mage/cards/d/DawnhartWardens.java
Normal file
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,6 +4,7 @@ import mage.abilities.Ability;
|
||||||
import mage.abilities.condition.common.CovenCondition;
|
import mage.abilities.condition.common.CovenCondition;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||||
|
import mage.abilities.hint.common.CovenHint;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.AbilityWord;
|
import mage.constants.AbilityWord;
|
||||||
|
@ -25,6 +26,7 @@ public final class RitualOfHope extends CardImpl {
|
||||||
// Creatures you control get +1/+1 until end of turn.
|
// 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.
|
// 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().addEffect(new RitualOfHopeEffect());
|
||||||
|
this.getSpellAbility().addHint(CovenHint.instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
private RitualOfHope(final RitualOfHope card) {
|
private RitualOfHope(final RitualOfHope card) {
|
||||||
|
|
|
@ -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("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("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 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("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("Defenestrate", 95, Rarity.COMMON, mage.cards.d.Defenestrate.class));
|
||||||
cards.add(new SetCardInfo("Delver of Secrets", 47, Rarity.UNCOMMON, mage.cards.d.DelverOfSecrets.class));
|
cards.add(new SetCardInfo("Delver of Secrets", 47, Rarity.UNCOMMON, mage.cards.d.DelverOfSecrets.class));
|
||||||
|
|
Loading…
Reference in a new issue