forked from External/mage
implement [MH3] Roil Cartographer
This commit is contained in:
parent
1b598e5423
commit
cfa7bfa591
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/r/RoilCartographer.java
Normal file
53
Mage.Sets/src/mage/cards/r/RoilCartographer.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.LandfallAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.PayEnergyCost;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class RoilCartographer extends CardImpl {
|
||||
|
||||
public RoilCartographer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}");
|
||||
|
||||
this.subtype.add(SubType.MERFOLK);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Landfall -- Whenever a land enters the battlefield under your control, you get {E}.
|
||||
this.addAbility(new LandfallAbility(
|
||||
new GetEnergyCountersControllerEffect(1), false
|
||||
));
|
||||
|
||||
// {T}, Pay six {E}: Draw three cards.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new DrawCardSourceControllerEffect(3),
|
||||
new TapSourceCost()
|
||||
);
|
||||
ability.addCost(new PayEnergyCost(6));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private RoilCartographer(final RoilCartographer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RoilCartographer copy() {
|
||||
return new RoilCartographer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -99,6 +99,7 @@ public final class ModernHorizons3 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Recruiter of the Guard", 266, Rarity.MYTHIC, mage.cards.r.RecruiterOfTheGuard.class));
|
||||
cards.add(new SetCardInfo("Reef Worm", 271, Rarity.UNCOMMON, mage.cards.r.ReefWorm.class));
|
||||
cards.add(new SetCardInfo("Revitalizing Repast", 256, Rarity.UNCOMMON, mage.cards.r.RevitalizingRepast.class));
|
||||
cards.add(new SetCardInfo("Roil Cartographer", 67, Rarity.UNCOMMON, mage.cards.r.RoilCartographer.class));
|
||||
cards.add(new SetCardInfo("Ruby Medallion", 295, Rarity.RARE, mage.cards.r.RubyMedallion.class));
|
||||
cards.add(new SetCardInfo("Rush of Inspiration", 257, Rarity.UNCOMMON, mage.cards.r.RushOfInspiration.class));
|
||||
cards.add(new SetCardInfo("Sapphire Medallion", 296, Rarity.RARE, mage.cards.s.SapphireMedallion.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue