mirror of
https://github.com/correl/mage.git
synced 2025-04-01 19:07:57 -09:00
* Fixed available mana generation of Gemstone Array, Pentad Prism and
Utopia Mycon (#6698).
This commit is contained in:
parent
82dfd76ee3
commit
8e27ca31cd
4 changed files with 12 additions and 5 deletions
Mage.Sets/src/mage/cards
|
@ -5,6 +5,7 @@ import java.util.UUID;
|
|||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.dynamicvalue.common.CountersSourceCount;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -25,7 +26,8 @@ public final class GemstoneArray extends CardImpl {
|
|||
// {2}: Put a charge counter on Gemstone Array.
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersSourceEffect(CounterType.CHARGE.createInstance(1)), new ManaCostsImpl("{2}")));
|
||||
// Remove a charge counter from Gemstone Array: Add one mana of any color.
|
||||
this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1))));
|
||||
this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)),
|
||||
new CountersSourceCount(CounterType.CHARGE), false));
|
||||
}
|
||||
|
||||
public GemstoneArray(final GemstoneArray card) {
|
||||
|
|
|
@ -25,6 +25,8 @@ public final class OrochiLeafcaller extends CardImpl {
|
|||
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// {G}: Add one mana of any color.
|
||||
this.addAbility(new AnyColorManaAbility(new ColoredManaCost(ColoredManaSymbol.G)));
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
package mage.cards.p;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.costs.common.RemoveCountersSourceCost;
|
||||
import mage.abilities.dynamicvalue.common.CountersSourceCount;
|
||||
import mage.abilities.keyword.SunburstAbility;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -17,12 +17,13 @@ import mage.counters.CounterType;
|
|||
public final class PentadPrism extends CardImpl {
|
||||
|
||||
public PentadPrism(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||
|
||||
// Sunburst
|
||||
this.addAbility(new SunburstAbility(this));
|
||||
// Remove a charge counter from Pentad Prism: Add one mana of any color.
|
||||
this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1))));
|
||||
this.addAbility(new AnyColorManaAbility(new RemoveCountersSourceCost(CounterType.CHARGE.createInstance(1)),
|
||||
new CountersSourceCount(CounterType.CHARGE), false));
|
||||
}
|
||||
|
||||
public PentadPrism(final PentadPrism card) {
|
||||
|
|
|
@ -21,6 +21,7 @@ import mage.game.permanent.token.SaprolingToken;
|
|||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
|
||||
/**
|
||||
* @author fireshoes
|
||||
|
@ -46,7 +47,8 @@ public final class UtopiaMycon extends CardImpl {
|
|||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SaprolingToken()), new RemoveCountersSourceCost(CounterType.SPORE.createInstance(3))));
|
||||
|
||||
// Sacrifice a Saproling: Add one mana of any color.
|
||||
Ability ability = new AnyColorManaAbility(new SacrificeTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, false)));
|
||||
Ability ability = new AnyColorManaAbility(new SacrificeTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, false)),
|
||||
new PermanentsOnBattlefieldCount(filter), false);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue