[MOR] various text fixes

This commit is contained in:
Evan Kranzler 2022-03-08 08:33:09 -05:00
parent 8999a6e647
commit 6b72142ef2
19 changed files with 103 additions and 85 deletions

View file

@ -32,7 +32,7 @@ public enum ProwlCostWasPaidCondition implements Condition {
@Override
public String toString() {
return "{this}'s prowl cost was paid";
return "this spell's prowl cost was paid";
}
}

View file

@ -13,7 +13,6 @@ import mage.game.permanent.Permanent;
import mage.util.CardUtil;
/**
*
* @author emerald000
*/
@ -47,8 +46,7 @@ public class CanBlockAdditionalCreatureAllEffect extends ContinuousEffectImpl {
// maxBlocks = 0 equals to "can block any number of creatures"
if (amount > 0) {
permanent.setMaxBlocks(permanent.getMaxBlocks() + amount);
}
else {
} else {
permanent.setMaxBlocks(0);
}
}
@ -64,12 +62,16 @@ public class CanBlockAdditionalCreatureAllEffect extends ContinuousEffectImpl {
private String setText() {
StringBuilder sb = new StringBuilder(filter.getMessage());
sb.append(" can block ");
switch(amount) {
switch (amount) {
case 0:
sb.append("any number of creatures");
break;
case 1:
sb.append("an additional creature each combat");
break;
default:
sb.append(CardUtil.numberToText(amount, "an")).append(" additional creature").append(amount > 1 ? "s" : "");
sb.append(CardUtil.numberToText(amount));
sb.append(" additional creatures");
}
return sb.toString();
}

View file

@ -171,7 +171,7 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl {
if (loseAllAbilities) {
sb.append(" lose all their abilities and ");
}
sb.append(" each become ");
sb.append(" each become ");
} else {
sb.append("target ").append(target.getTargetName());
if (loseAllAbilities && !keepAbilities) {