mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
if you're having text problems I feel bad for you son, I've got 99 problems and they're all text-related and I've only dealt with a small amount of them
This commit is contained in:
parent
c2ae2f89f0
commit
05a7c83a77
106 changed files with 133 additions and 129 deletions
|
|
@ -44,7 +44,7 @@ public class LimitedTimesPerTurnActivatedAbility extends ActivatedAbilityImpl {
|
|||
public String getRule() {
|
||||
StringBuilder sb = new StringBuilder(super.getRule()).append(" Activate ");
|
||||
if (condition != null) {
|
||||
sb.append("only ").append(condition.toString()).append(" and ");
|
||||
sb.append("only if ").append(condition.toString()).append(" and ");
|
||||
}
|
||||
if (getTiming() == TimingRule.SORCERY) {
|
||||
sb.append("only as a sorcery and ");
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import mage.game.Game;
|
|||
import mage.game.events.GameEvent;
|
||||
import mage.game.stack.Spell;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
* @author LevelX2
|
||||
|
|
@ -78,7 +79,7 @@ public class SpellCastAllTriggeredAbility extends TriggeredAbilityImpl {
|
|||
if (rule != null && !rule.isEmpty()) {
|
||||
return rule;
|
||||
}
|
||||
return "Whenever a player casts " + filter.getMessage() + ", " + super.getRule();
|
||||
return "Whenever a player casts " + CardUtil.addArticle(filter.getMessage()) + ", " + super.getRule();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ public class ControlPermanentCost extends CostImpl {
|
|||
|
||||
public ControlPermanentCost(FilterControlledPermanent filter) {
|
||||
this.filter = filter.copy();
|
||||
this.text = "Activate this ability only if you control " + filter.getMessage();
|
||||
this.text = "Activate only if you control " + filter.getMessage();
|
||||
}
|
||||
|
||||
public ControlPermanentCost(final ControlPermanentCost cost) {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public class SearchLibraryGraveyardPutInHandEffect extends OneShotEffect {
|
|||
this.filter = filter;
|
||||
this.forceToSearchBoth = forceToSearchBoth;
|
||||
staticText = (youMay ? "you may " : "") + "search your library and" + (forceToSearchBoth ? "" : "/or") + " graveyard for a card named " + filter.getMessage()
|
||||
+ ", reveal it, and put it into your hand. " + (forceToSearchBoth ? "Then shuffle" : "If you search your library this way, shuffle");
|
||||
+ ", reveal it, then put it into your hand. " + (forceToSearchBoth ? "Then shuffle" : "If you search your library this way, shuffle");
|
||||
}
|
||||
|
||||
public SearchLibraryGraveyardPutInHandEffect(final SearchLibraryGraveyardPutInHandEffect effect) {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class SearchLibraryGraveyardPutOntoBattlefieldEffect extends OneShotEffec
|
|||
this.filter = filter;
|
||||
this.forceToSearchBoth = forceToSearchBoth;
|
||||
staticText = (youMay ? "You may " : "") + "search your library and" + (forceToSearchBoth ? "" : "/or") + " graveyard for a " + filter.getMessage()
|
||||
+ " and put it onto the battlefield. " + (forceToSearchBoth ? "Then shuffle" : "If you search your library this way, shuffle it");
|
||||
+ " and put it onto the battlefield. " + (forceToSearchBoth ? "Then shuffle" : "If you search your library this way, shuffle");
|
||||
}
|
||||
|
||||
public SearchLibraryGraveyardPutOntoBattlefieldEffect(final SearchLibraryGraveyardPutOntoBattlefieldEffect effect) {
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ public class BoastAbility extends ActivatedAbilityImpl {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Boast — " + super.getRule() + " <i>(Activate this ability only if this creature attacked this turn and only once each turn.)</i>";
|
||||
return "Boast — " + super.getRule() + " <i>(Activate only if this creature attacked this turn and only once each turn.)</i>";
|
||||
}
|
||||
|
||||
private static final class BoastTwiceAbility extends SimpleStaticAbility {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ public class ChannelAbility extends ActivatedAbilityImpl {
|
|||
StringBuilder sb = new StringBuilder("<i>Channel</i> — ");
|
||||
sb.append(super.getRule());
|
||||
if(this.timing == TimingRule.SORCERY) {
|
||||
sb.append(" Activate this ability only any time you could cast a sorcery.");
|
||||
sb.append(" Activate only as a sorcery.");
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,6 @@ public class ForecastAbility extends ActivatedAbilityImpl {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Forecast — " + super.getRule() + " <i>(Activate this ability only during your upkeep and only once each turn)</i>";
|
||||
return "Forecast — " + super.getRule() + " <i>(Activate only during your upkeep and only once each turn)</i>";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public class ActivateIfConditionManaAbility extends ActivatedManaAbilityImpl {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return super.getRule() + " Activate this ability only if " + condition.toString() + '.';
|
||||
return super.getRule() + " Activate only if " + condition.toString() + '.';
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public class ActivateOncePerTurnManaAbility extends ActivatedManaAbilityImpl {
|
|||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return super.getRule() + " Activate this ability only once each turn.";
|
||||
return super.getRule() + " Activate only once each turn.";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public final class NissaWhoShakesTheWorldEmblem extends Emblem {
|
|||
Zone.COMMAND,
|
||||
new GainAbilityAllEffect(
|
||||
IndestructibleAbility.getInstance(), Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND, false
|
||||
StaticFilters.FILTER_CONTROLLED_PERMANENT_LANDS, false
|
||||
)
|
||||
));
|
||||
this.setExpansionSetCodeForImage("WAR");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue