[AFR] more text fixes

This commit is contained in:
Evan Kranzler 2021-08-23 19:14:50 -04:00
parent 31a559be23
commit 85dfa58e5d
18 changed files with 40 additions and 29 deletions

View file

@ -62,7 +62,10 @@ public class Effects extends ArrayList<Effect> {
}
//check if nextRule is a new sentence or not.
if (nextRule.startsWith("and ") || nextRule.startsWith("with ") || nextRule.startsWith("then ")) {
if (nextRule.startsWith("and ")
|| nextRule.startsWith("with ")
|| nextRule.startsWith("then ")
|| nextRule.startsWith("or ")) {
endString = " ";
} else if (nextRule.startsWith(",") || nextRule.startsWith(" ")) {
endString = "";

View file

@ -1,6 +1,5 @@
package mage.abilities.effects.common;
import java.util.UUID;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.effects.OneShotEffect;
@ -9,8 +8,9 @@ import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.target.Target;
import java.util.UUID;
/**
*
* @author fireshoes
*/
public class PhaseOutTargetEffect extends OneShotEffect {
@ -73,7 +73,11 @@ public class PhaseOutTargetEffect extends OneShotEffect {
} else {
sb.append("Target ").append(mode.getTargets().get(0).getTargetName());
}
sb.append(" phases out");
sb.append(" phase");
if (mode.getTargets().get(0).getMaxNumberOfTargets() <= 1) {
sb.append('s');
}
sb.append(" out");
return sb.toString();
}

View file

@ -35,7 +35,7 @@ public class SearchLibraryGraveyardPutInHandEffect extends OneShotEffect {
this.filter = filter;
this.forceToSearchBoth = forceToSearchBoth;
staticText = (youMay ? "you may " : "") + "search your library and" + (forceToSearchBoth ? "" : "/or") + " graveyard for a card named " + filter.getMessage()
+ ", reveal it, and put it into your hand. " + (forceToSearchBoth ? "Then shuffle" : "If you search your library this way, shuffle it");
+ ", reveal it, and put it into your hand. " + (forceToSearchBoth ? "Then shuffle" : "If you search your library this way, shuffle");
}
public SearchLibraryGraveyardPutInHandEffect(final SearchLibraryGraveyardPutInHandEffect effect) {

View file

@ -30,7 +30,7 @@ public class IcingdeathFrostTongueToken extends TokenImpl {
public IcingdeathFrostTongueToken() {
super("Icingdeath, Frost Tongue", "Icingdeath, Frost Tongue, a legendary white " +
"Equipment artifact token with \"Equipped creature gets +2/+0\", " +
"Equipment artifact token with \"Equipped creature gets +2/+0,\" " +
"\"Whenever equipped creature attacks, tap target creature " +
"defending player controls,\" and equip {2}");
supertype.add(SuperType.LEGENDARY);