mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[TLA] various text fixes
This commit is contained in:
parent
00c5daa5ea
commit
790361f59f
33 changed files with 68 additions and 47 deletions
|
|
@ -2,7 +2,7 @@ package mage.abilities.costs.common;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.costs.CostImpl;
|
||||
import mage.game.Game;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -12,14 +12,14 @@ import java.util.UUID;
|
|||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class WaterbendCost extends ManaCostsImpl {
|
||||
public class WaterbendCost extends CostImpl {
|
||||
|
||||
public WaterbendCost(int amount) {
|
||||
this("{" + amount + '}');
|
||||
}
|
||||
|
||||
public WaterbendCost(String mana) {
|
||||
super("");
|
||||
super();
|
||||
this.text = "waterbend " + mana;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ public class PutOnTopOrBottomLibraryTargetEffect extends OneShotEffect {
|
|||
sb.append(targetText);
|
||||
sb.append("'s owner");
|
||||
}
|
||||
sb.append(" puts it");
|
||||
sb.append(" puts it ");
|
||||
if (position > 1) {
|
||||
sb.append("into their library ");
|
||||
sb.append(CardUtil.numberToOrdinalText(position));
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ public class BoostControlledEffect extends ContinuousEffectImpl {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
String message = filter.getMessage().toLowerCase(Locale.ENGLISH);
|
||||
boolean each = message.startsWith("each");
|
||||
if (excludeSource && !each && !message.startsWith("all")) {
|
||||
if (excludeSource && !each && !message.startsWith("all ")) {
|
||||
sb.append("other ");
|
||||
}
|
||||
sb.append(filter.getMessage());
|
||||
|
|
|
|||
|
|
@ -79,9 +79,10 @@ public class EarthbendTargetEffect extends OneShotEffect {
|
|||
return staticText;
|
||||
}
|
||||
StringBuilder sb = new StringBuilder("earthbend ");
|
||||
sb.append(amount);
|
||||
if (!(amount instanceof StaticValue)) {
|
||||
sb.append(", where X is ");
|
||||
if (amount instanceof StaticValue) {
|
||||
sb.append(amount);
|
||||
} else {
|
||||
sb.append("X, where X is ");
|
||||
sb.append(amount.getMessage());
|
||||
}
|
||||
sb.append(". <i>(Target land you control becomes a 0/0 creature with haste that's still a land. Put ");
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import mage.abilities.effects.OneShotEffect;
|
|||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -57,7 +56,7 @@ public class ScryTargetEffect extends OneShotEffect {
|
|||
}
|
||||
StringBuilder sb = new StringBuilder(getTargetPointer().describeTargets(mode.getTargets(), "that player"));
|
||||
sb.append(" scries ");
|
||||
sb.append(CardUtil.numberToText(amount.toString()));
|
||||
sb.append(amount.toString());
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ public final class CardUtil {
|
|||
public static final SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss.SSS");
|
||||
|
||||
private static final List<String> costWords = Arrays.asList(
|
||||
"put", "return", "exile", "discard", "mill", "sacrifice", "remove", "tap", "reveal", "pay", "have", "collect", "forage"
|
||||
"put", "return", "exile", "discard", "mill", "sacrifice", "remove", "tap", "reveal", "pay", "have", "collect", "forage", "transform"
|
||||
);
|
||||
|
||||
// search set code in commands like "set_code-card_name"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue