mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
[ECL] Implement Wanderwine Distracter
This commit is contained in:
parent
605cf28ccb
commit
8b4853fde7
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/w/WanderwineDistracter.java
Normal file
42
Mage.Sets/src/mage/cards/w/WanderwineDistracter.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.BecomesTappedSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class WanderwineDistracter extends CardImpl {
|
||||
|
||||
public WanderwineDistracter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||
|
||||
this.subtype.add(SubType.MERFOLK);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Whenever this creature becomes tapped, target creature an opponent controls gets -3/-0 until end of turn.
|
||||
Ability ability = new BecomesTappedSourceTriggeredAbility(new BoostTargetEffect(-3, 0));
|
||||
ability.addTarget(new TargetOpponentsCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private WanderwineDistracter(final WanderwineDistracter card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WanderwineDistracter copy() {
|
||||
return new WanderwineDistracter(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -136,5 +136,6 @@ public final class LorwynEclipsed extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Virulent Emissary", 202, Rarity.UNCOMMON, mage.cards.v.VirulentEmissary.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Virulent Emissary", 406, Rarity.UNCOMMON, mage.cards.v.VirulentEmissary.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Voracious Tome-Skimmer", 250, Rarity.UNCOMMON, mage.cards.v.VoraciousTomeSkimmer.class));
|
||||
cards.add(new SetCardInfo("Wanderwine Distracter", 82, Rarity.COMMON, mage.cards.w.WanderwineDistracter.class));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue