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:
parent
19a0e1dcc4
commit
12b6a22327
3 changed files with 4 additions and 4 deletions
Mage/src/mage/abilities
dynamicvalue/common
effects/common
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue