Added text to ManaType constants.

This commit is contained in:
LevelX2 2013-09-04 17:15:51 +02:00
parent 3a1d687cf1
commit 4e23d49bd2
3 changed files with 21 additions and 3 deletions

View file

@ -56,6 +56,8 @@ public class Soilshaper extends CardImpl<Soilshaper> {
this.color.setGreen(true);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// Whenever you cast a Spirit or Arcane spell, target land becomes a 3/3 creature until end of turn. It's still a land.
Ability ability = new SpellCastControllerTriggeredAbility(new BecomesCreatureTargetEffect(new SoilshaperToken(), "land", Duration.EndOfTurn), filter, false);
ability.addTarget(new TargetLandPermanent());
this.addAbility(ability);

View file

@ -5,5 +5,21 @@ package mage.constants;
* @author North
*/
public enum ManaType {
BLACK, BLUE, GREEN, RED, WHITE, COLORLESS
BLACK ("black"),
BLUE ("blue"),
GREEN ("greeen"),
RED ("red"),
WHITE ("white"),
COLORLESS("colorless");
private String text;
ManaType(String text) {
this.text = text;
}
@Override
public String toString() {
return text;
}
};

View file

@ -21,7 +21,7 @@ Cascade|new|
Exalted|new|
Flanking|new|
Forestwalk|new|
Indestructible|new|
Indestructible|instance|
Islandwalk|new|
Living weapon|new|
Mountainwalk|new|