mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
[FDN] Implement Mossborn Hydra
This commit is contained in:
parent
9465e2da20
commit
ad8c02dedd
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/m/MossbornHydra.java
Normal file
48
Mage.Sets/src/mage/cards/m/MossbornHydra.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.common.LandfallAbility;
|
||||
import mage.abilities.effects.common.DoubleCountersSourceEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
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 MossbornHydra extends CardImpl {
|
||||
|
||||
public MossbornHydra(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.ELEMENTAL);
|
||||
this.subtype.add(SubType.HYDRA);
|
||||
this.power = new MageInt(0);
|
||||
this.toughness = new MageInt(0);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// This creature enters with a +1/+1 counter on it.
|
||||
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance(1)), "with a +1/+1 counter on it"));
|
||||
|
||||
// Landfall -- Whenever a land you control enters, double the number of +1/+1 counters on this creature.
|
||||
this.addAbility(new LandfallAbility(new DoubleCountersSourceEffect(CounterType.P1P1)));
|
||||
}
|
||||
|
||||
private MossbornHydra(final MossbornHydra card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MossbornHydra copy() {
|
||||
return new MossbornHydra(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -65,6 +65,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Mold Adder", 640, Rarity.UNCOMMON, mage.cards.m.MoldAdder.class));
|
||||
cards.add(new SetCardInfo("Moment of Craving", 524, Rarity.COMMON, mage.cards.m.MomentOfCraving.class));
|
||||
cards.add(new SetCardInfo("Moment of Triumph", 500, Rarity.COMMON, mage.cards.m.MomentOfTriumph.class));
|
||||
cards.add(new SetCardInfo("Mossborn Hydra", 107, Rarity.RARE, mage.cards.m.MossbornHydra.class));
|
||||
cards.add(new SetCardInfo("Mountain", 278, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Mystical Teachings", 594, Rarity.UNCOMMON, mage.cards.m.MysticalTeachings.class));
|
||||
cards.add(new SetCardInfo("Negate", 710, Rarity.COMMON, mage.cards.n.Negate.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue