forked from External/mage
[MH3] Implement Solar Transformer
This commit is contained in:
parent
66549aec2a
commit
c0082e4aef
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/s/SolarTransformer.java
Normal file
47
Mage.Sets/src/mage/cards/s/SolarTransformer.java
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTappedAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.common.PayEnergyCost;
|
||||
import mage.abilities.effects.common.counter.GetEnergyCountersControllerEffect;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.abilities.mana.ColorlessManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SolarTransformer extends CardImpl {
|
||||
|
||||
public SolarTransformer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||
|
||||
// Solar Transformer enters the battlefield tapped.
|
||||
this.addAbility(new EntersBattlefieldTappedAbility());
|
||||
|
||||
// When Solar Transformer enters the battlefield, you get {E}{E}{E}.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new GetEnergyCountersControllerEffect(3)));
|
||||
|
||||
// {T}: Add {C}.
|
||||
this.addAbility(new ColorlessManaAbility());
|
||||
|
||||
// {T}, Pay {E}: Add one mana of any color.
|
||||
Ability ability = new AnyColorManaAbility();
|
||||
ability.addCost(new PayEnergyCost(1));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private SolarTransformer(final SolarTransformer card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SolarTransformer copy() {
|
||||
return new SolarTransformer(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -159,6 +159,7 @@ public final class ModernHorizons3 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Six", 169, Rarity.RARE, mage.cards.s.Six.class));
|
||||
cards.add(new SetCardInfo("Skoa, Embermage", 138, Rarity.COMMON, mage.cards.s.SkoaEmbermage.class));
|
||||
cards.add(new SetCardInfo("Snow-Covered Wastes", 229, Rarity.UNCOMMON, mage.cards.s.SnowCoveredWastes.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Solar Transformer", 211, Rarity.UNCOMMON, mage.cards.s.SolarTransformer.class));
|
||||
cards.add(new SetCardInfo("Sorin of House Markov", 245, Rarity.MYTHIC, mage.cards.s.SorinOfHouseMarkov.class));
|
||||
cards.add(new SetCardInfo("Sorin, Ravenous Neonate", 245, Rarity.MYTHIC, mage.cards.s.SorinRavenousNeonate.class));
|
||||
cards.add(new SetCardInfo("Sowing Mycospawn", 170, Rarity.RARE, mage.cards.s.SowingMycospawn.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue