1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-02 03:18:09 -09:00

improve Devotion formatting

fixes Aspect of Hydra, Evangel of Heliod
This commit is contained in:
Neil Gentleman 2015-11-24 23:06:34 -08:00
parent 19a0e1dcc4
commit 12b6a22327
3 changed files with 4 additions and 4 deletions
Mage/src/mage/abilities

View file

@ -55,12 +55,12 @@ public class DevotionCount implements DynamicValue {
@Override
public String toString() {
return "put a number of";
return "X";
}
@Override
public String getMessage() {
StringBuilder sb = new StringBuilder("devotion to ");
StringBuilder sb = new StringBuilder("your devotion to ");
int count = 0;
for (ColoredManaSymbol coloredManaSymbol : devotionColors) {
if (count > 0) {

View file

@ -122,7 +122,7 @@ public class CounterUnlessPaysEffect extends OneShotEffect {
sb.append("{X}");
}
if (genericMana != null && !genericMana.getMessage().isEmpty()) {
sb.append(", where X is your ");
sb.append(", where X is ");
sb.append(genericMana.getMessage());
}
return sb.toString();

View file

@ -104,7 +104,7 @@ public class LoseCreatureTypeSourceEffect extends ContinuousEffectImpl implement
}
private void setText() {
StringBuilder sb = new StringBuilder("As long as your ");
StringBuilder sb = new StringBuilder("As long as ");
sb.append(dynamicValue.getMessage()).append(" is less than ");
sb.append(CardUtil.numberToText(lessThan)).append(", {this} isn't a creature");
staticText = sb.toString();