mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
[MID] Implemented Might of the Old Ways
This commit is contained in:
parent
fd32d3ea47
commit
bbc23a85dc
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/m/MightOfTheOldWays.java
Normal file
43
Mage.Sets/src/mage/cards/m/MightOfTheOldWays.java
Normal file
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.abilities.condition.common.CovenCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.hint.common.CovenHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MightOfTheOldWays extends CardImpl {
|
||||
|
||||
public MightOfTheOldWays(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}");
|
||||
|
||||
// Target creature gets +2/+2 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(2, 2));
|
||||
|
||||
// Coven — Then if you control three or more creatures with different powers, draw a card.
|
||||
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
|
||||
new DrawCardSourceControllerEffect(1), CovenCondition.instance,
|
||||
"<br>" + AbilityWord.COVEN.formatWord() + "Then if you control " +
|
||||
"three or more creatures with different powers, draw a card"
|
||||
));
|
||||
this.getSpellAbility().addHint(CovenHint.instance);
|
||||
}
|
||||
|
||||
private MightOfTheOldWays(final MightOfTheOldWays card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MightOfTheOldWays copy() {
|
||||
return new MightOfTheOldWays(this);
|
||||
}
|
||||
}
|
|
@ -61,6 +61,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kessig Naturalist", 231, Rarity.UNCOMMON, mage.cards.k.KessigNaturalist.class));
|
||||
cards.add(new SetCardInfo("Lord of the Ulvenwald", 231, Rarity.UNCOMMON, mage.cards.l.LordOfTheUlvenwald.class));
|
||||
cards.add(new SetCardInfo("Lunar Frenzy", 147, Rarity.UNCOMMON, mage.cards.l.LunarFrenzy.class));
|
||||
cards.add(new SetCardInfo("Might of the Old Ways", 189, Rarity.COMMON, mage.cards.m.MightOfTheOldWays.class));
|
||||
cards.add(new SetCardInfo("Mountain", 274, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Overgrown Farmland", 265, Rarity.RARE, mage.cards.o.OvergrownFarmland.class));
|
||||
cards.add(new SetCardInfo("Pestilent Wolf", 192, Rarity.COMMON, mage.cards.p.PestilentWolf.class));
|
||||
|
|
Loading…
Reference in a new issue