More text fixes (#10296)

* Fix text: Tattoo Ward (and similar "doesn't remove {this}")

* Fix text: Demoralize

* Fix text: Keep Watch

* Fix Slithery Stalker (ability is not optional)

* Fix text: Rain of Filth
This commit is contained in:
xenohedron 2023-04-30 09:55:43 -04:00 committed by GitHub
parent 43255abad2
commit 3df7f6940d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 9 deletions

View file

@ -26,7 +26,8 @@ public final class Demoralize extends CardImpl {
// All creatures gain menace until end of turn. (They can't be blocked except by two or more creatures.) // All creatures gain menace until end of turn. (They can't be blocked except by two or more creatures.)
this.getSpellAbility().addEffect(new GainAbilityAllEffect(new MenaceAbility(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES)); this.getSpellAbility().addEffect(new GainAbilityAllEffect(new MenaceAbility(), Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES)
.setText("All creatures gain menace until end of turn. <i>(They can't be blocked except by two or more creatures.)</i>"));
// Threshold If seven or more cards are in your graveyard, creatures can't block this turn. // Threshold If seven or more cards are in your graveyard, creatures can't block this turn.
this.getSpellAbility().addEffect( this.getSpellAbility().addEffect(

View file

@ -19,7 +19,7 @@ public final class KeepWatch extends CardImpl {
// Draw a card for each attacking creature. // Draw a card for each attacking creature.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(new AttackingCreatureCount())); this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(new AttackingCreatureCount()).setText("draw a card for each attacking creature"));
} }
private KeepWatch(final KeepWatch card) { private KeepWatch(final KeepWatch card) {

View file

@ -12,7 +12,7 @@ import mage.cards.CardSetInfo;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.Duration; import mage.constants.Duration;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterControlledLandPermanent; import mage.filter.StaticFilters;
/** /**
* *
@ -25,8 +25,9 @@ public final class RainOfFilth extends CardImpl {
// Until end of turn, lands you control gain "Sacrifice this land: Add {B}." // Until end of turn, lands you control gain "Sacrifice this land: Add {B}."
ActivatedManaAbilityImpl ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlackMana(1), new SacrificeSourceCost()); ActivatedManaAbilityImpl ability = new SimpleManaAbility(Zone.BATTLEFIELD, Mana.BlackMana(1), new SacrificeSourceCost().setText("sacrifice this land"));
this.getSpellAbility().addEffect(new GainAbilityAllEffect(ability, Duration.EndOfTurn, new FilterControlledLandPermanent())); this.getSpellAbility().addEffect(new GainAbilityAllEffect(ability, Duration.EndOfTurn, StaticFilters.FILTER_CONTROLLED_PERMANENT_LANDS)
.setText("until end of turn, lands you control gain \"Sacrifice this land: Add {B}.\""));
} }
private RainOfFilth(final RainOfFilth card) { private RainOfFilth(final RainOfFilth card) {

View file

@ -28,7 +28,7 @@ import mage.target.TargetPermanent;
*/ */
public final class SlitheryStalker extends CardImpl { public final class SlitheryStalker extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("a green or white creature an opponent controls"); private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("green or white creature an opponent controls");
static { static {
filter.add(Predicates.or( filter.add(Predicates.or(
@ -48,7 +48,7 @@ public final class SlitheryStalker extends CardImpl {
this.addAbility(new SwampwalkAbility()); this.addAbility(new SwampwalkAbility());
// When Slithery Stalker enters the battlefield, exile target green or white creature an opponent controls. // When Slithery Stalker enters the battlefield, exile target green or white creature an opponent controls.
Ability ability1 = new EntersBattlefieldTriggeredAbility(new ExileTargetForSourceEffect(), true); Ability ability1 = new EntersBattlefieldTriggeredAbility(new ExileTargetForSourceEffect());
Target target = new TargetPermanent(filter); Target target = new TargetPermanent(filter);
ability1.addTarget(target); ability1.addTarget(target);
this.addAbility(ability1); this.addAbility(ability1);

View file

@ -42,7 +42,7 @@ public final class TattooWard extends CardImpl {
ability.addEffect(new GainAbilityAttachedEffect( ability.addEffect(new GainAbilityAttachedEffect(
new ProtectionAbility(StaticFilters.FILTER_PERMANENT_ENCHANTMENTS), new ProtectionAbility(StaticFilters.FILTER_PERMANENT_ENCHANTMENTS),
AttachmentType.AURA, Duration.WhileOnBattlefield AttachmentType.AURA, Duration.WhileOnBattlefield
).setDoesntRemoveItself(true)); ).setDoesntRemoveItself(true).setText(" and has protection from enchantments. This effect doesn't remove {this}"));
this.addAbility(ability); this.addAbility(ability);
// Sacrifice Tattoo Ward: Destroy target enchantment. // Sacrifice Tattoo Ward: Destroy target enchantment.

View file

@ -155,7 +155,7 @@ public class GainAbilityAttachedEffect extends ContinuousEffectImpl {
sb.append(' ').append(duration); sb.append(' ').append(duration);
} }
if (doesntRemoveItself) { if (doesntRemoveItself) {
sb.append(" This effect doesn't remove {this}."); sb.append(". This effect doesn't remove {this}.");
} }
return sb.toString(); return sb.toString();
} }