From 4e23d49bd20434b6e6eb5296c4e4853b34b98cb8 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Wed, 4 Sep 2013 17:15:51 +0200 Subject: [PATCH] Added text to ManaType constants. --- .../sets/championsofkamigawa/Soilshaper.java | 2 ++ Mage/src/mage/constants/ManaType.java | 20 +++++++++++++++++-- Utils/keywords.txt | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/championsofkamigawa/Soilshaper.java b/Mage.Sets/src/mage/sets/championsofkamigawa/Soilshaper.java index af4b255af5..7c61af1ffb 100644 --- a/Mage.Sets/src/mage/sets/championsofkamigawa/Soilshaper.java +++ b/Mage.Sets/src/mage/sets/championsofkamigawa/Soilshaper.java @@ -56,6 +56,8 @@ public class Soilshaper extends CardImpl { 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); diff --git a/Mage/src/mage/constants/ManaType.java b/Mage/src/mage/constants/ManaType.java index 3134836393..08cf45eec2 100644 --- a/Mage/src/mage/constants/ManaType.java +++ b/Mage/src/mage/constants/ManaType.java @@ -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; + } +}; \ No newline at end of file diff --git a/Utils/keywords.txt b/Utils/keywords.txt index 4b4a2e77d1..701979ac2a 100644 --- a/Utils/keywords.txt +++ b/Utils/keywords.txt @@ -21,7 +21,7 @@ Cascade|new| Exalted|new| Flanking|new| Forestwalk|new| -Indestructible|new| +Indestructible|instance| Islandwalk|new| Living weapon|new| Mountainwalk|new|