mirror of
https://github.com/correl/mage.git
synced 2025-01-14 03:00:10 +00:00
[ONE] Implement Meldweb Strider
This commit is contained in:
parent
da37efdf3c
commit
d8fb3dbe33
2 changed files with 62 additions and 0 deletions
61
Mage.Sets/src/mage/cards/m/MeldwebStrider.java
Normal file
61
Mage.Sets/src/mage/cards/m/MeldwebStrider.java
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
package mage.cards.m;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.EntersBattlefieldAbility;
|
||||||
|
import mage.abilities.common.SimpleActivatedAbility;
|
||||||
|
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||||
|
import mage.abilities.effects.common.continuous.AddCardTypeSourceEffect;
|
||||||
|
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||||
|
import mage.abilities.keyword.CrewAbility;
|
||||||
|
import mage.abilities.keyword.VigilanceAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Duration;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.counters.CounterType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class MeldwebStrider extends CardImpl {
|
||||||
|
|
||||||
|
public MeldwebStrider(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{4}{U}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.VEHICLE);
|
||||||
|
this.power = new MageInt(5);
|
||||||
|
this.toughness = new MageInt(5);
|
||||||
|
|
||||||
|
// Vigilance
|
||||||
|
this.addAbility(VigilanceAbility.getInstance());
|
||||||
|
|
||||||
|
// Meldweb Strider enters the battlefield with an oil counter on it.
|
||||||
|
this.addAbility(new EntersBattlefieldAbility(
|
||||||
|
new AddCountersSourceEffect(CounterType.OIL.createInstance()),
|
||||||
|
"with an oil counter on it"
|
||||||
|
));
|
||||||
|
|
||||||
|
// Remove an oil counter from Meldweb Strider: It becomes an artifact creature until end of turn.
|
||||||
|
this.addAbility(new SimpleActivatedAbility(
|
||||||
|
new AddCardTypeSourceEffect(
|
||||||
|
Duration.EndOfTurn, CardType.ARTIFACT, CardType.CREATURE
|
||||||
|
).setText("it becomes an artifact creature until end of turn"),
|
||||||
|
new RemoveCountersSourceCost(CounterType.OIL.createInstance())
|
||||||
|
));
|
||||||
|
|
||||||
|
// Crew 3
|
||||||
|
this.addAbility(new CrewAbility(3));
|
||||||
|
}
|
||||||
|
|
||||||
|
private MeldwebStrider(final MeldwebStrider card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MeldwebStrider copy() {
|
||||||
|
return new MeldwebStrider(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -116,6 +116,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Mandible Justiciar", 21, Rarity.COMMON, mage.cards.m.MandibleJusticiar.class));
|
cards.add(new SetCardInfo("Mandible Justiciar", 21, Rarity.COMMON, mage.cards.m.MandibleJusticiar.class));
|
||||||
cards.add(new SetCardInfo("Maze Skullbomb", 231, Rarity.COMMON, mage.cards.m.MazeSkullbomb.class));
|
cards.add(new SetCardInfo("Maze Skullbomb", 231, Rarity.COMMON, mage.cards.m.MazeSkullbomb.class));
|
||||||
cards.add(new SetCardInfo("Meldweb Curator", 59, Rarity.COMMON, mage.cards.m.MeldwebCurator.class));
|
cards.add(new SetCardInfo("Meldweb Curator", 59, Rarity.COMMON, mage.cards.m.MeldwebCurator.class));
|
||||||
|
cards.add(new SetCardInfo("Meldweb Strider", 60, Rarity.COMMON, mage.cards.m.MeldwebStrider.class));
|
||||||
cards.add(new SetCardInfo("Mercurial Spelldancer", 61, Rarity.RARE, mage.cards.m.MercurialSpelldancer.class));
|
cards.add(new SetCardInfo("Mercurial Spelldancer", 61, Rarity.RARE, mage.cards.m.MercurialSpelldancer.class));
|
||||||
cards.add(new SetCardInfo("Mesmerizing Dose", 62, Rarity.COMMON, mage.cards.m.MesmerizingDose.class));
|
cards.add(new SetCardInfo("Mesmerizing Dose", 62, Rarity.COMMON, mage.cards.m.MesmerizingDose.class));
|
||||||
cards.add(new SetCardInfo("Migloz, Maze Crusher", 210, Rarity.RARE, mage.cards.m.MiglozMazeCrusher.class));
|
cards.add(new SetCardInfo("Migloz, Maze Crusher", 210, Rarity.RARE, mage.cards.m.MiglozMazeCrusher.class));
|
||||||
|
|
Loading…
Reference in a new issue