[M21] various text fixes

This commit is contained in:
Evan Kranzler 2020-10-06 21:12:07 -04:00
parent 44b44f4103
commit 524b9fcd44
14 changed files with 19 additions and 16 deletions

View file

@ -7,6 +7,7 @@ import mage.constants.Duration;
import mage.constants.Layer;
import mage.constants.Outcome;
import mage.constants.SubLayer;
import mage.filter.StaticFilters;
import mage.filter.common.FilterCreaturePermanent;
import mage.game.Game;
import mage.game.permanent.Permanent;
@ -22,7 +23,7 @@ public class BoostOpponentsEffect extends ContinuousEffectImpl {
protected FilterCreaturePermanent filter;
public BoostOpponentsEffect(int power, int toughness, Duration duration) {
this(power, toughness, duration, new FilterCreaturePermanent("Creatures"));
this(power, toughness, duration, StaticFilters.FILTER_PERMANENT_CREATURES);
}
public BoostOpponentsEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter) {

View file

@ -34,7 +34,7 @@ public class SearchLibraryGraveyardPutInHandEffect extends OneShotEffect {
super(Outcome.Benefit);
this.filter = filter;
this.forceToSearchBoth = forceToSearchBoth;
staticText = (youMay ? "you may" : "") + " search your library and" + (forceToSearchBoth ? "" : "/or") + " graveyard for a card named " + filter.getMessage()
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 your library" : "If you search your library this way, shuffle it");
}