forked from External/mage
[MH2] Implemented Aeromoeba
This commit is contained in:
parent
2b4adce57d
commit
f8e4cd5d3c
2 changed files with 47 additions and 0 deletions
46
Mage.Sets/src/mage/cards/a/Aeromoeba.java
Normal file
46
Mage.Sets/src/mage/cards/a/Aeromoeba.java
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.DiscardCardCost;
|
||||
import mage.abilities.effects.common.continuous.SwitchPowerToughnessSourceEffect;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Aeromoeba extends CardImpl {
|
||||
|
||||
public Aeromoeba(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.BEAST);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Discard a card: Switch Aeromoeba's power and toughness until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new SwitchPowerToughnessSourceEffect(Duration.EndOfTurn), new DiscardCardCost()
|
||||
));
|
||||
}
|
||||
|
||||
private Aeromoeba(final Aeromoeba card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Aeromoeba copy() {
|
||||
return new Aeromoeba(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -28,6 +28,7 @@ public final class ModernHorizons2 extends ExpansionSet {
|
|||
this.maxCardNumberInBooster = 303;
|
||||
|
||||
cards.add(new SetCardInfo("Abundant Harvest", 147, Rarity.COMMON, mage.cards.a.AbundantHarvest.class));
|
||||
cards.add(new SetCardInfo("Aeromoeba", 37, Rarity.COMMON, mage.cards.a.Aeromoeba.class));
|
||||
cards.add(new SetCardInfo("Arcbound Mouser", 3, Rarity.COMMON, mage.cards.a.ArcboundMouser.class));
|
||||
cards.add(new SetCardInfo("Arcbound Shikari", 184, Rarity.UNCOMMON, mage.cards.a.ArcboundShikari.class));
|
||||
cards.add(new SetCardInfo("Arcbound Whelp", 113, Rarity.UNCOMMON, mage.cards.a.ArcboundWhelp.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue