forked from External/mage
Mysterious Egg
This commit is contained in:
parent
525b0edbc0
commit
ebf709f4d8
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/m/MysteriousEgg.java
Normal file
40
Mage.Sets/src/mage/cards/m/MysteriousEgg.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.MutatesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
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 MysteriousEgg extends CardImpl {
|
||||
|
||||
public MysteriousEgg(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}");
|
||||
|
||||
this.subtype.add(SubType.EGG);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever this creature mutates, put a +1/+1 counter on it.
|
||||
this.addAbility(new MutatesSourceTriggeredAbility(
|
||||
new AddCountersSourceEffect(CounterType.P1P1.createInstance()).setText("put a +1/+1 counter on it")
|
||||
));
|
||||
}
|
||||
|
||||
private MysteriousEgg(final MysteriousEgg card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MysteriousEgg copy() {
|
||||
return new MysteriousEgg(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -47,6 +47,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Kogla, the Titan Ape", 162, Rarity.RARE, mage.cards.k.KoglaTheTitanApe.class));
|
||||
cards.add(new SetCardInfo("Migration Path", 164, Rarity.UNCOMMON, mage.cards.m.MigrationPath.class));
|
||||
cards.add(new SetCardInfo("Mosscoat Goriak", 167, Rarity.COMMON, mage.cards.m.MosscoatGoriak.class));
|
||||
cards.add(new SetCardInfo("Mysterious Egg", 3, Rarity.COMMON, mage.cards.m.MysteriousEgg.class));
|
||||
cards.add(new SetCardInfo("Neutralize", 59, Rarity.UNCOMMON, mage.cards.n.Neutralize.class));
|
||||
cards.add(new SetCardInfo("Pacifism", 25, Rarity.COMMON, mage.cards.p.Pacifism.class));
|
||||
cards.add(new SetCardInfo("Phase Dolphin", 62, Rarity.COMMON, mage.cards.p.PhaseDolphin.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue