mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[MOM] Implement Collective Nightmare
This commit is contained in:
parent
96cf6b2927
commit
e9ac9a0e7a
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/c/CollectiveNightmare.java
Normal file
36
Mage.Sets/src/mage/cards/c/CollectiveNightmare.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.abilities.keyword.ConvokeAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CollectiveNightmare extends CardImpl {
|
||||
|
||||
public CollectiveNightmare(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{B}");
|
||||
|
||||
// Convoke
|
||||
this.addAbility(new ConvokeAbility());
|
||||
|
||||
// Target creature gets -3/-3 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostTargetEffect(-3, -3));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
private CollectiveNightmare(final CollectiveNightmare card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CollectiveNightmare copy() {
|
||||
return new CollectiveNightmare(this);
|
||||
}
|
||||
}
|
|
@ -40,6 +40,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Chrome Host Hulk", 188, Rarity.UNCOMMON, mage.cards.c.ChromeHostHulk.class));
|
||||
cards.add(new SetCardInfo("Chrome Host Seedshark", 51, Rarity.RARE, mage.cards.c.ChromeHostSeedshark.class));
|
||||
cards.add(new SetCardInfo("City on Fire", 135, Rarity.RARE, mage.cards.c.CityOnFire.class));
|
||||
cards.add(new SetCardInfo("Collective Nightmare", 95, Rarity.UNCOMMON, mage.cards.c.CollectiveNightmare.class));
|
||||
cards.add(new SetCardInfo("Compleated Conjurer", 49, Rarity.UNCOMMON, mage.cards.c.CompleatedConjurer.class));
|
||||
cards.add(new SetCardInfo("Copper Host Crusher", 181, Rarity.UNCOMMON, mage.cards.c.CopperHostCrusher.class));
|
||||
cards.add(new SetCardInfo("Cragsmasher Yeti", 333, Rarity.COMMON, mage.cards.c.CragsmasherYeti.class));
|
||||
|
|
Loading…
Reference in a new issue