mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Implemented Oneirophage
This commit is contained in:
parent
4268538290
commit
b4025fdd8c
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/o/Oneirophage.java
Normal file
45
Mage.Sets/src/mage/cards/o/Oneirophage.java
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
package mage.cards.o;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.DrawCardControllerTriggeredAbility;
|
||||||
|
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||||
|
import mage.abilities.keyword.FlyingAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.counters.CounterType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class Oneirophage extends CardImpl {
|
||||||
|
|
||||||
|
public Oneirophage(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.SQUID);
|
||||||
|
this.subtype.add(SubType.ILLUSION);
|
||||||
|
this.power = new MageInt(1);
|
||||||
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
|
// Flying
|
||||||
|
this.addAbility(FlyingAbility.getInstance());
|
||||||
|
|
||||||
|
// Whenever you draw a card, put a +1/+1 counter on Oneirophage.
|
||||||
|
this.addAbility(new DrawCardControllerTriggeredAbility(
|
||||||
|
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
private Oneirophage(final Oneirophage card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Oneirophage copy() {
|
||||||
|
return new Oneirophage(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -143,6 +143,7 @@ public final class ModernHorizons extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Ninja of the New Moon", 99, Rarity.COMMON, mage.cards.n.NinjaOfTheNewMoon.class));
|
cards.add(new SetCardInfo("Ninja of the New Moon", 99, Rarity.COMMON, mage.cards.n.NinjaOfTheNewMoon.class));
|
||||||
cards.add(new SetCardInfo("Nurturing Peatland", 243, Rarity.RARE, mage.cards.n.NurturingPeatland.class));
|
cards.add(new SetCardInfo("Nurturing Peatland", 243, Rarity.RARE, mage.cards.n.NurturingPeatland.class));
|
||||||
cards.add(new SetCardInfo("On Thin Ice", 20, Rarity.RARE, mage.cards.o.OnThinIce.class));
|
cards.add(new SetCardInfo("On Thin Ice", 20, Rarity.RARE, mage.cards.o.OnThinIce.class));
|
||||||
|
cards.add(new SetCardInfo("Oneirophage", 60, Rarity.UNCOMMON, mage.cards.o.Oneirophage.class));
|
||||||
cards.add(new SetCardInfo("Orcish Hellraiser", 136, Rarity.COMMON, mage.cards.o.OrcishHellraiser.class));
|
cards.add(new SetCardInfo("Orcish Hellraiser", 136, Rarity.COMMON, mage.cards.o.OrcishHellraiser.class));
|
||||||
cards.add(new SetCardInfo("Ore-Scale Guardian", 137, Rarity.UNCOMMON, mage.cards.o.OreScaleGuardian.class));
|
cards.add(new SetCardInfo("Ore-Scale Guardian", 137, Rarity.UNCOMMON, mage.cards.o.OreScaleGuardian.class));
|
||||||
cards.add(new SetCardInfo("Pashalik Mons", 138, Rarity.RARE, mage.cards.p.PashalikMons.class));
|
cards.add(new SetCardInfo("Pashalik Mons", 138, Rarity.RARE, mage.cards.p.PashalikMons.class));
|
||||||
|
|
Loading…
Reference in a new issue