mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
correct grammar, remove duplicate parentheses
This commit is contained in:
parent
79ff0bd374
commit
19a0e1dcc4
6 changed files with 13 additions and 10 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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");
|
||||||
|
|
|
@ -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));
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue