mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed issue #116 in Somberwald Sage allowing to choose 3 mana color instead as correct only 3 mana of one color.
This commit is contained in:
parent
3a90fbb49c
commit
c48841b055
1 changed files with 3 additions and 2 deletions
|
@ -27,16 +27,17 @@
|
||||||
*/
|
*/
|
||||||
package mage.sets.avacynrestored;
|
package mage.sets.avacynrestored;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
import mage.ConditionalMana;
|
import mage.ConditionalMana;
|
||||||
import mage.Constants.CardType;
|
import mage.Constants.CardType;
|
||||||
import mage.Constants.Rarity;
|
import mage.Constants.Rarity;
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
|
import mage.abilities.costs.common.TapSourceCost;
|
||||||
import mage.abilities.mana.ConditionalAnyColorManaAbility;
|
import mage.abilities.mana.ConditionalAnyColorManaAbility;
|
||||||
import mage.abilities.mana.builder.ConditionalManaBuilder;
|
import mage.abilities.mana.builder.ConditionalManaBuilder;
|
||||||
import mage.abilities.mana.conditional.CreatureCastConditionalMana;
|
import mage.abilities.mana.conditional.CreatureCastConditionalMana;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author noxx
|
* @author noxx
|
||||||
|
@ -54,7 +55,7 @@ public class SomberwaldSage extends CardImpl<SomberwaldSage> {
|
||||||
this.toughness = new MageInt(1);
|
this.toughness = new MageInt(1);
|
||||||
|
|
||||||
// {tap}: Add three mana of any one color to your mana pool. Spend this mana only to cast creature spells.
|
// {tap}: Add three mana of any one color to your mana pool. Spend this mana only to cast creature spells.
|
||||||
this.addAbility(new ConditionalAnyColorManaAbility(3, new SomberwaldSageManaBuilder()));
|
this.addAbility(new ConditionalAnyColorManaAbility(new TapSourceCost(), 3, new SomberwaldSageManaBuilder(), true));
|
||||||
}
|
}
|
||||||
|
|
||||||
public SomberwaldSage(final SomberwaldSage card) {
|
public SomberwaldSage(final SomberwaldSage card) {
|
||||||
|
|
Loading…
Reference in a new issue