mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[WOE] Implement Eriette's Whisper
This commit is contained in:
parent
493cb811d5
commit
c9842cda2f
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/e/EriettesWhisper.java
Normal file
38
Mage.Sets/src/mage/cards/e/EriettesWhisper.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.effects.common.CreateRoleAttachedTargetEffect;
|
||||
import mage.abilities.effects.common.discard.DiscardTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.RoleType;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
import mage.target.common.TargetOpponent;
|
||||
import mage.target.targetpointer.SecondTargetPointer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EriettesWhisper extends CardImpl {
|
||||
|
||||
public EriettesWhisper(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{B}");
|
||||
|
||||
// Target opponent discards two cards. Create a Wicked Role token attached to up to one target creature you control.
|
||||
this.getSpellAbility().addEffect(new DiscardTargetEffect(2));
|
||||
this.getSpellAbility().addTarget(new TargetOpponent());
|
||||
this.getSpellAbility().addEffect(new CreateRoleAttachedTargetEffect(RoleType.WICKED).setTargetPointer(new SecondTargetPointer()));
|
||||
this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
|
||||
}
|
||||
|
||||
private EriettesWhisper(final EriettesWhisper card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EriettesWhisper copy() {
|
||||
return new EriettesWhisper(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -73,6 +73,7 @@ public final class WildsOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Embereth Veteran", 127, Rarity.UNCOMMON, mage.cards.e.EmberethVeteran.class));
|
||||
cards.add(new SetCardInfo("Eriette of the Charmed Apple", 202, Rarity.MYTHIC, mage.cards.e.ErietteOfTheCharmedApple.class));
|
||||
cards.add(new SetCardInfo("Eriette's Tempting Apple", 245, Rarity.UNCOMMON, mage.cards.e.EriettesTemptingApple.class));
|
||||
cards.add(new SetCardInfo("Eriette's Whisper", 88, Rarity.COMMON, mage.cards.e.EriettesWhisper.class));
|
||||
cards.add(new SetCardInfo("Evolving Wilds", 256, Rarity.COMMON, mage.cards.e.EvolvingWilds.class));
|
||||
cards.add(new SetCardInfo("Expel the Interlopers", 13, Rarity.RARE, mage.cards.e.ExpelTheInterlopers.class));
|
||||
cards.add(new SetCardInfo("Experimental Confectioner", 314, Rarity.UNCOMMON, mage.cards.e.ExperimentalConfectioner.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue