correct grammar, remove duplicate parentheses

This commit is contained in:
Neil Gentleman 2015-11-23 22:54:15 -08:00
parent 79ff0bd374
commit 19a0e1dcc4
6 changed files with 13 additions and 10 deletions

View file

@ -57,7 +57,7 @@ public class ReturnToHandSourceEffect extends OneShotEffect {
/** /**
* *
* @param fromBattlefieldOnly the object is only returned if it's on the * @param fromBattlefieldOnly the object is only returned if it is on the
* battlefield as the effect resolves * battlefield as the effect resolves
* @param returnFromNextZone the object is only returned, if it has changed * @param returnFromNextZone the object is only returned, if it has changed
* the zone one time after the source ability triggered or was activated * the zone one time after the source ability triggered or was activated
@ -67,7 +67,7 @@ public class ReturnToHandSourceEffect extends OneShotEffect {
super(Outcome.ReturnToHand); super(Outcome.ReturnToHand);
this.fromBattlefieldOnly = fromBattlefieldOnly; this.fromBattlefieldOnly = fromBattlefieldOnly;
this.returnFromNextZone = returnFromNextZone; this.returnFromNextZone = returnFromNextZone;
staticText = "return {this} to it's owner's hand"; staticText = "return {this} to its owner's hand";
} }
public ReturnToHandSourceEffect(final ReturnToHandSourceEffect effect) { public ReturnToHandSourceEffect(final ReturnToHandSourceEffect effect) {

View file

@ -61,7 +61,10 @@ public class GainAbilityControllerEffect extends ContinuousEffectImpl {
public GainAbilityControllerEffect(Ability ability, Duration duration) { public GainAbilityControllerEffect(Ability ability, Duration duration) {
super(duration, Layer.PlayerEffects, SubLayer.NA, Outcome.AddAbility); super(duration, Layer.PlayerEffects, SubLayer.NA, Outcome.AddAbility);
this.ability = ability; this.ability = ability;
staticText = "You have " + ability.getRule() + " " + duration.toString(); staticText = "You have " + ability.getRule();
if (!duration.toString().isEmpty()) {
staticText += " " + duration.toString();
}
} }
public GainAbilityControllerEffect(final GainAbilityControllerEffect effect) { public GainAbilityControllerEffect(final GainAbilityControllerEffect effect) {

View file

@ -122,9 +122,9 @@ public class SearchLibraryPutInHandEffect extends SearchEffect {
sb.append(rulePrefix); sb.append(rulePrefix);
if (target.getNumberOfTargets() == 0 && target.getMaxNumberOfTargets() > 0) { if (target.getNumberOfTargets() == 0 && target.getMaxNumberOfTargets() > 0) {
sb.append("up to ").append(CardUtil.numberToText(target.getMaxNumberOfTargets())).append(" "); sb.append("up to ").append(CardUtil.numberToText(target.getMaxNumberOfTargets())).append(" ");
sb.append(target.getTargetName()).append(revealCards ? ", reveal them, " : "").append(" and put them into your hand"); sb.append(target.getTargetName()).append(revealCards ? ", reveal them," : "").append(" and put them into your hand");
} else { } else {
sb.append("a ").append(target.getTargetName()).append(revealCards ? ", reveal it, " : "").append(" and put that card into your hand"); sb.append("a ").append(target.getTargetName()).append(revealCards ? ", reveal it," : "").append(" and put that card into your hand");
} }
if (forceShuffle) { if (forceShuffle) {
sb.append(". Then shuffle your library"); sb.append(". Then shuffle your library");

View file

@ -104,13 +104,13 @@ public class ConspireAbility extends StaticAbility implements OptionalAdditional
this.conspireId = conspireId; this.conspireId = conspireId;
switch (conspireTargets) { switch (conspireTargets) {
case NONE: case NONE:
reminderText = "As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it.)"; reminderText = "As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it.";
break; break;
case ONE: case ONE:
reminderText = "As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.)"; reminderText = "As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy.";
break; break;
case MORE: case MORE:
reminderText = "As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new targets for the copy.)"; reminderText = "As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose new targets for the copy.";
break; break;
} }
Cost cost = new TapTargetCost(new TargetControlledPermanent(2, 2, filter, true)); Cost cost = new TapTargetCost(new TargetControlledPermanent(2, 2, filter, true));

View file

@ -43,7 +43,7 @@ import mage.abilities.costs.OptionalAdditionalCost;
public class MultikickerAbility extends KickerAbility { public class MultikickerAbility extends KickerAbility {
protected static final String MultikickerKeyword = "Multikicker"; protected static final String MultikickerKeyword = "Multikicker";
protected static final String MultikickerReminder = "(You may pay an additional {cost} any number of times as you cast this spell.)"; protected static final String MultikickerReminder = "You may pay an additional {cost} any number of times as you cast this spell.";
public MultikickerAbility(String manaString) { public MultikickerAbility(String manaString) {
super(MultikickerKeyword, MultikickerReminder); super(MultikickerKeyword, MultikickerReminder);

View file

@ -101,7 +101,7 @@ class BecomesRenownedSourceEffect extends OneShotEffect {
// Renown 1 (When this creature deals combat damage to a player, if it isn't renowned, put a +1/+1 counter on it and it becomes renowned.) // Renown 1 (When this creature deals combat damage to a player, if it isn't renowned, put a +1/+1 counter on it and it becomes renowned.)
StringBuilder sb = new StringBuilder("Renown "); StringBuilder sb = new StringBuilder("Renown ");
sb.append(renownValue == Integer.MAX_VALUE ? "X" : renownValue) sb.append(renownValue == Integer.MAX_VALUE ? "X" : renownValue)
.append(". <i>(When this creature deals combat damage to a player, if it isn't renowned, put ") .append(" <i>(When this creature deals combat damage to a player, if it isn't renowned, put ")
.append(renownValue == Integer.MAX_VALUE ? "X" : CardUtil.numberToText(renownValue, "a")) .append(renownValue == Integer.MAX_VALUE ? "X" : CardUtil.numberToText(renownValue, "a"))
.append(" +1/+1 counter on it and it becomes renowned.)</i>"); .append(" +1/+1 counter on it and it becomes renowned.)</i>");
return sb.toString(); return sb.toString();