mirror of
https://github.com/correl/mage.git
synced 2025-04-06 17:00:12 -09:00
Text fixes
This commit is contained in:
parent
7b9243f640
commit
c7994cb3ac
8 changed files with 10 additions and 8 deletions
Mage.Sets/src/mage/cards
Mage/src/main/java/mage/abilities
condition/common
decorator
effects/common/continuous
|
@ -57,7 +57,7 @@ class DustOfMomentsEffect extends OneShotEffect {
|
||||||
" two time counters " +
|
" two time counters " +
|
||||||
(remove ? "from" : "on") +
|
(remove ? "from" : "on") +
|
||||||
" each permanent" +
|
" each permanent" +
|
||||||
(remove ? "" : "with a time counter on it") +
|
(remove ? "" : " with a time counter on it") +
|
||||||
" and each suspended card";
|
" and each suspended card";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ class MoltenDisasterSplitSecondEffect extends ContinuousRuleModifyingEffectImpl
|
||||||
|
|
||||||
MoltenDisasterSplitSecondEffect() {
|
MoltenDisasterSplitSecondEffect() {
|
||||||
super(Duration.WhileOnStack, Outcome.Detriment);
|
super(Duration.WhileOnStack, Outcome.Detriment);
|
||||||
staticText = "if this spell was kicked, it has split second <i>(As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.)</i>";
|
staticText = "if this spell was kicked, it has split second. <i>(As long as this spell is on the stack, players can't cast spells or activate abilities that aren't mana abilities.)</i>";
|
||||||
}
|
}
|
||||||
|
|
||||||
MoltenDisasterSplitSecondEffect(final MoltenDisasterSplitSecondEffect effect) {
|
MoltenDisasterSplitSecondEffect(final MoltenDisasterSplitSecondEffect effect) {
|
||||||
|
|
|
@ -58,7 +58,7 @@ class SehtsTigerEffect extends OneShotEffect {
|
||||||
|
|
||||||
public SehtsTigerEffect() {
|
public SehtsTigerEffect() {
|
||||||
super(Outcome.Protect);
|
super(Outcome.Protect);
|
||||||
staticText = "you gain protection from the color of your choice until end of turn <i>(You can't be targeted, dealt damage, or enchanted by anything of the chosen color.)</i>";
|
staticText = "you gain protection from the color of your choice until end of turn. <i>(You can't be targeted, dealt damage, or enchanted by anything of the chosen color.)</i>";
|
||||||
}
|
}
|
||||||
|
|
||||||
public SehtsTigerEffect(final SehtsTigerEffect effect) {
|
public SehtsTigerEffect(final SehtsTigerEffect effect) {
|
||||||
|
|
|
@ -64,7 +64,7 @@ class SpellweaverVoluteEffect extends OneShotEffect {
|
||||||
|
|
||||||
public SpellweaverVoluteEffect() {
|
public SpellweaverVoluteEffect() {
|
||||||
super(Outcome.PlayForFree);
|
super(Outcome.PlayForFree);
|
||||||
this.staticText = "copy the enchanted instant card. You may cast the copy without paying its mana cost. \n"
|
this.staticText = "copy the enchanted instant card. You may cast the copy without paying its mana cost. "
|
||||||
+ "If you do, exile the enchanted card and attach {this} to another instant card in a graveyard";
|
+ "If you do, exile the enchanted card and attach {this} to another instant card in a graveyard";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ public final class Tarmogoyf extends CardImpl {
|
||||||
this.addAbility(new SimpleStaticAbility(
|
this.addAbility(new SimpleStaticAbility(
|
||||||
Zone.ALL,
|
Zone.ALL,
|
||||||
new SetBasePowerToughnessSourceEffect(powerValue, toughnessValue, Duration.EndOfGame, SubLayer.CharacteristicDefining_7a)
|
new SetBasePowerToughnessSourceEffect(powerValue, toughnessValue, Duration.EndOfGame, SubLayer.CharacteristicDefining_7a)
|
||||||
.setText("{this}'s power is equal to the number of creature cards in all graveyards and its toughness is equal to that number plus 1")
|
.setText("{this}'s power is equal to the number of card types among cards in all graveyards and its toughness is equal to that number plus 1")
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,7 @@ public class CardsInHandCondition implements Condition {
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
sb.append("exactly ");
|
sb.append("exactly ");
|
||||||
sb.append(CardUtil.numberToText(count));
|
sb.append(CardUtil.numberToText(count));
|
||||||
|
sb.append(" ");
|
||||||
} else {
|
} else {
|
||||||
sb.append("no ");
|
sb.append("no ");
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,7 @@ import mage.abilities.condition.Condition;
|
||||||
import mage.abilities.effects.Effects;
|
import mage.abilities.effects.Effects;
|
||||||
import mage.abilities.effects.OneShotEffect;
|
import mage.abilities.effects.OneShotEffect;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
|
import mage.util.CardUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds condition to {@link OneShotEffect}. Acts as decorator.
|
* Adds condition to {@link OneShotEffect}. Acts as decorator.
|
||||||
|
@ -78,9 +79,9 @@ public class ConditionalOneShotEffect extends OneShotEffect {
|
||||||
return staticText;
|
return staticText;
|
||||||
}
|
}
|
||||||
if (otherwiseEffects.isEmpty()) {
|
if (otherwiseEffects.isEmpty()) {
|
||||||
return "if " + condition.toString() + ", " + effects.getText(mode);
|
return "if " + condition.toString() + ", " + CardUtil.getTextWithFirstCharLowerCase(effects.getText(mode));
|
||||||
}
|
}
|
||||||
return effects.getText(mode) + ". If " + condition.toString() + ", " + otherwiseEffects.getText(mode);
|
return effects.getText(mode) + ". If " + condition.toString() + ", " + CardUtil.getTextWithFirstCharLowerCase(otherwiseEffects.getText(mode));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -113,6 +113,6 @@ public class BecomesColorSourceEffect extends ContinuousEffectImpl {
|
||||||
return staticText;
|
return staticText;
|
||||||
}
|
}
|
||||||
return "{this} becomes " + (setColor == null ? "the color of your choice" : setColor.getDescription())
|
return "{this} becomes " + (setColor == null ? "the color of your choice" : setColor.getDescription())
|
||||||
+ (' ' + duration.toString()).trim();
|
+ (duration.toString().isEmpty() ? "" : " " + duration.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue