mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fix text for CantBeBlockedByMoreThanOneAllEffect and BecomesCreatureAllEffect
This commit is contained in:
parent
0452a333a4
commit
99ef7b7e02
2 changed files with 5 additions and 2 deletions
|
@ -61,7 +61,8 @@ public class CantBeBlockedByMoreThanOneAllEffect extends ContinuousEffectImpl<Ca
|
|||
super(duration, Outcome.Benefit);
|
||||
this.amount = amount;
|
||||
this.filter = filter;
|
||||
staticText = new StringBuilder("Each ").append(filter.getMessage()).append(" can't be blocked by more than ").append(CardUtil.numberToText(amount)).append(" creature").toString();
|
||||
staticText = new StringBuilder("Each ").append(filter.getMessage()).append(" can't be blocked by more than ")
|
||||
.append(CardUtil.numberToText(amount)).append(" creature").append(amount > 1 ? "s" : "").toString();
|
||||
}
|
||||
|
||||
public CantBeBlockedByMoreThanOneAllEffect(final CantBeBlockedByMoreThanOneAllEffect effect) {
|
||||
|
|
|
@ -134,7 +134,9 @@ public class BecomesCreatureAllEffect extends ContinuousEffectImpl<BecomesCreatu
|
|||
@Override
|
||||
public String getText(Mode mode) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (duration.toString() != "") {
|
||||
sb.append(duration.toString()).append(", ");
|
||||
}
|
||||
sb.append(filter.getMessage());
|
||||
sb.append(" become a ").append(token.getDescription());
|
||||
if (type != null && type.length() > 0) {
|
||||
|
|
Loading…
Reference in a new issue