mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed ManaEffect of Dreamstone Hedron (pay mana costs)
This commit is contained in:
parent
432bf6cb69
commit
606306cb84
1 changed files with 19 additions and 1 deletions
|
@ -38,6 +38,7 @@ import mage.abilities.costs.common.TapSourceCost;
|
|||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.DrawCardControllerEffect;
|
||||
import mage.abilities.effects.common.BasicManaEffect;
|
||||
import mage.abilities.mana.BasicManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
|
||||
/**
|
||||
|
@ -50,7 +51,7 @@ public class DreamstoneHedron extends CardImpl<DreamstoneHedron> {
|
|||
super(ownerId, 216, "Dreamstone Hedron", Rarity.UNCOMMON, new CardType[]{CardType.ARTIFACT}, "{6}");
|
||||
this.expansionSetCode = "ROE";
|
||||
|
||||
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BasicManaEffect(Mana.ColorlessMana(3)), new TapSourceCost()));
|
||||
this.addAbility(new DreamstoneHedronFirstManaAbility());
|
||||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new DrawCardControllerEffect(3),
|
||||
new GenericManaCost(3));
|
||||
|
@ -67,4 +68,21 @@ public class DreamstoneHedron extends CardImpl<DreamstoneHedron> {
|
|||
public DreamstoneHedron copy() {
|
||||
return new DreamstoneHedron(this);
|
||||
}
|
||||
|
||||
class DreamstoneHedronFirstManaAbility extends BasicManaAbility<DreamstoneHedronFirstManaAbility> {
|
||||
|
||||
public DreamstoneHedronFirstManaAbility() {
|
||||
super(new BasicManaEffect(new Mana(0, 0, 0, 0, 0, 3, 0)));
|
||||
this.netMana.setColorless(3);
|
||||
}
|
||||
|
||||
public DreamstoneHedronFirstManaAbility(final DreamstoneHedronFirstManaAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DreamstoneHedronFirstManaAbility copy() {
|
||||
return new DreamstoneHedronFirstManaAbility(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue