mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
[MH2] Implemented Wavesifter
This commit is contained in:
parent
bcd35b9d46
commit
2660012122
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/w/Wavesifter.java
Normal file
48
Mage.Sets/src/mage/cards/w/Wavesifter.java
Normal file
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.keyword.InvestigateEffect;
|
||||
import mage.abilities.keyword.EvokeAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Wavesifter extends CardImpl {
|
||||
|
||||
public Wavesifter(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}{U}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When Wavesifter enters the battlefield, investigate twice.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new InvestigateEffect().setText("investigate"));
|
||||
ability.addEffect(new InvestigateEffect().setText("twice"));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Evoke {G}{U}
|
||||
this.addAbility(new EvokeAbility("{G}{U}"));
|
||||
}
|
||||
|
||||
private Wavesifter(final Wavesifter card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Wavesifter copy() {
|
||||
return new Wavesifter(this);
|
||||
}
|
||||
}
|
|
@ -261,6 +261,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Viashino Lashclaw", 146, Rarity.COMMON, mage.cards.v.ViashinoLashclaw.class));
|
||||
cards.add(new SetCardInfo("Vindicate", 294, Rarity.RARE, mage.cards.v.Vindicate.class));
|
||||
cards.add(new SetCardInfo("Void Mirror", 242, Rarity.RARE, mage.cards.v.VoidMirror.class));
|
||||
cards.add(new SetCardInfo("Wavesifter", 217, Rarity.COMMON, mage.cards.w.Wavesifter.class));
|
||||
cards.add(new SetCardInfo("Wonder", 271, Rarity.RARE, mage.cards.w.Wonder.class));
|
||||
cards.add(new SetCardInfo("World-Weary", 109, Rarity.COMMON, mage.cards.w.WorldWeary.class));
|
||||
cards.add(new SetCardInfo("Wren's Run Hydra", 183, Rarity.UNCOMMON, mage.cards.w.WrensRunHydra.class));
|
||||
|
|
Loading…
Reference in a new issue