[AFR] Implemented Demogorgon's Clutches (#7977)

This commit is contained in:
Raphael-Schulz 2021-07-05 22:08:16 +02:00 committed by GitHub
parent 0b1897ec04
commit 21840d7a9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.d;
import java.util.UUID;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.LoseLifeTargetEffect;
import mage.abilities.effects.common.MillCardsTargetEffect;
import mage.abilities.effects.common.discard.DiscardTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetOpponent;
/**
*
* @author Raphael-Schulz
*/
public final class DemogorgonsClutches extends CardImpl {
public DemogorgonsClutches(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{B}");
// Target opponent discards two cards, mills two cards, and loses 2 life.
this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
Effect effect = new MillCardsTargetEffect(2);
effect.setText(", mills two cards");
this.getSpellAbility().addEffect(effect);
effect = new LoseLifeTargetEffect(2);
effect.setText(", and loses 2 life");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addTarget(new TargetOpponent());
}
private DemogorgonsClutches(final DemogorgonsClutches card) {
super(card);
}
@Override
public DemogorgonsClutches copy() {
return new DemogorgonsClutches(this);
}
}

View file

@ -47,6 +47,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
cards.add(new SetCardInfo("Contact Other Plane", 52, Rarity.COMMON, mage.cards.c.ContactOtherPlane.class));
cards.add(new SetCardInfo("Dawnbringer Cleric", 9, Rarity.COMMON, mage.cards.d.DawnbringerCleric.class));
cards.add(new SetCardInfo("Delver's Torch", 10, Rarity.COMMON, mage.cards.d.DelversTorch.class));
cards.add(new SetCardInfo("Demogorgon's Clutches", 96, Rarity.UNCOMMON, mage.cards.d.DemogorgonsClutches.class));
cards.add(new SetCardInfo("Den of the Bugbear", 254, Rarity.RARE, mage.cards.d.DenOfTheBugbear.class));
cards.add(new SetCardInfo("Devoted Paladin", 11, Rarity.COMMON, mage.cards.d.DevotedPaladin.class));
cards.add(new SetCardInfo("Dire Wolf Prowler", 179, Rarity.COMMON, mage.cards.d.DireWolfProwler.class));