Fix some card text

This commit is contained in:
Plopman 2018-04-16 21:03:16 +02:00
parent 261cbf4970
commit 36d69a96be
68 changed files with 101 additions and 171 deletions

View file

@ -121,7 +121,7 @@ public class AlternativeCostSourceAbility extends StaticAbility implements Alter
private AlternativeCost2 convertToAlternativeCost(Cost cost) {
//return cost != null ? new AlternativeCost2Impl(null, cost.getText(), cost) : null;
return cost != null ? new AlternativeCost2Impl(null, "", cost) : null;
return cost != null ? new AlternativeCost2Impl(null, "", "", cost) : null;
}
@Override

View file

@ -47,7 +47,7 @@ public class PayLoyaltyCost extends CostImpl {
public PayLoyaltyCost(int amount) {
this.amount = amount;
this.text = Integer.toString(amount);
if (amount >= 0) {
if (amount > 0) {
this.text = '+' + this.text;
}
}

View file

@ -26,7 +26,7 @@ public class ChooseBasicLandTypeEffect extends OneShotEffect {
public ChooseBasicLandTypeEffect(Outcome outcome) {
super(outcome);
this.staticText = "Choose a basic land type";
this.staticText = "choose a basic land type";
}
public ChooseBasicLandTypeEffect(final ChooseBasicLandTypeEffect effect) {

View file

@ -158,7 +158,7 @@ public class RevealCardsFromLibraryUntilEffect extends OneShotEffect {
if (anyOrder) {
sb.append("any");
} else {
sb.append("random");
sb.append("a random");
}
sb.append(" order.");

View file

@ -182,7 +182,7 @@ public class SacrificeOpponentsUnlessPayEffect extends OneShotEffect{
private void setText() {
StringBuilder sb = new StringBuilder();
sb.append("Each opponent sacrifices ");
sb.append("each opponent sacrifices ");
if (amount.toString().equals("X")) {
sb.append(amount.toString());

View file

@ -58,11 +58,11 @@ public class BoostAllEffect extends ContinuousEffectImpl {
}
public BoostAllEffect(DynamicValue power, DynamicValue toughness, Duration duration) {
this(power, toughness, duration, new FilterCreaturePermanent("All creatures"), false);
this(power, toughness, duration, new FilterCreaturePermanent("all creatures"), false);
}
public BoostAllEffect(int power, int toughness, Duration duration, boolean excludeSource) {
this(power, toughness, duration, new FilterCreaturePermanent("All creatures"), excludeSource);
this(power, toughness, duration, new FilterCreaturePermanent("all creatures"), excludeSource);
}
public BoostAllEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter, boolean excludeSource) {

View file

@ -39,7 +39,7 @@ public class MenaceAbility extends StaticAbility { // Menace may not be a Single
@Override
public String getRule() {
String res = "Menace";
String res = "menace";
if (this.showAbilityHint) {
res += " <i>(This creature can't be blocked except by two or more creatures.)</i>";
}

View file

@ -39,7 +39,7 @@ import mage.abilities.keyword.FlyingAbility;
public class WaspToken extends TokenImpl {
public WaspToken() {
super("Wasp", "1/1 colorless Insect artifact creature token with flying");
super("Wasp", "1/1 colorless Insect artifact creature token with flying named Wasp");
cardType.add(CardType.ARTIFACT);
cardType.add(CardType.CREATURE);
this.subtype.add(SubType.INSECT);

View file

@ -50,7 +50,7 @@ public class TargetActivatedAbility extends TargetObject {
protected final FilterAbility filter;
public TargetActivatedAbility() {
this(new FilterAbility());
this(new FilterAbility("activated ability"));
}
public TargetActivatedAbility(FilterAbility filter) {