mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Added text to ManaType constants.
This commit is contained in:
parent
3a1d687cf1
commit
4e23d49bd2
3 changed files with 21 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
};
|
|
@ -21,7 +21,7 @@ Cascade|new|
|
|||
Exalted|new|
|
||||
Flanking|new|
|
||||
Forestwalk|new|
|
||||
Indestructible|new|
|
||||
Indestructible|instance|
|
||||
Islandwalk|new|
|
||||
Living weapon|new|
|
||||
Mountainwalk|new|
|
||||
|
|
Loading…
Reference in a new issue