text fixes

add missing target to Trash The Town
This commit is contained in:
xenohedron 2024-04-04 22:35:53 -04:00
parent f94d7d6b21
commit 89ea47eb2a
7 changed files with 11 additions and 8 deletions

View file

@ -35,7 +35,8 @@ public final class AncientCornucopia extends CardImpl {
// Whenever you cast a spell that's one or more colors, you may gain 1 life for each of that spell's colors. Do this only once each turn.
this.addAbility(new SpellCastControllerTriggeredAbility(
new GainLifeEffect(AncientCornucopiaValue.instance), filter, false
new GainLifeEffect(AncientCornucopiaValue.instance)
.setText("gain 1 life for each of that spell's colors"), filter, true
).setDoOnlyOnceEachTurn(true));
// {T}: Add one mana of any color.
@ -72,7 +73,7 @@ enum AncientCornucopiaValue implements DynamicValue {
@Override
public String getMessage() {
return "of that spell's colors. Do this only once each turn";
return "of that spell's colors";
}
@Override

View file

@ -15,6 +15,7 @@ import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.filter.StaticFilters;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
@ -36,7 +37,7 @@ public final class HarvesterOfMisery extends CardImpl {
// When Harvester of Misery enters the battlefield, other creatures get -2/-2 until end of turn.
this.addAbility(new EntersBattlefieldTriggeredAbility(new BoostAllEffect(
-2, -2, Duration.EndOfTurn, true
-2, -2, Duration.EndOfTurn, StaticFilters.FILTER_PERMANENT_CREATURES, true
)));
// {1}{B}, Discard Harvester of Misery: Target creature gets -2/-2 until end of turn.

View file

@ -45,7 +45,7 @@ public final class LostJitte extends CardImpl {
ability.addMode(new Mode(new CantBlockTargetEffect(Duration.EndOfTurn)).addTarget(new TargetCreaturePermanent()));
// * Put a +1/+1 counter on equipped creature.
ability.addMode(new Mode(new AddCountersAttachedEffect(CounterType.P1P1.createInstance(), "equipped")));
ability.addMode(new Mode(new AddCountersAttachedEffect(CounterType.P1P1.createInstance(), "equipped creature")));
this.addAbility(ability);
// Equip {1}

View file

@ -40,7 +40,8 @@ public final class RoryWilliams extends CardImpl {
this.addAbility(LifelinkAbility.getInstance());
// The Last Centurion -- When you cast this spell from anywhere other than exile, exile it with three time counters on it. It gains suspend. Then investigate.
Ability ability = new RoryWilliamsTriggeredAbility(new ExileSpellWithTimeCountersEffect(3, true));
Ability ability = new RoryWilliamsTriggeredAbility(new ExileSpellWithTimeCountersEffect(3, true)
.setText("exile it with three time counters on it. It gains suspend"));
ability.addEffect(new InvestigateEffect(1).concatBy("Then"));
ability.withFlavorWord("The Last Centurion");
this.addAbility(ability);
@ -62,7 +63,6 @@ class RoryWilliamsTriggeredAbility extends CastSourceTriggeredAbility {
super(effect, false);
setRuleAtTheTop(true);
setTriggerPhrase("When you cast this spell from anywhere other than exile, ");
withRuleTextReplacement(true);
}
private RoryWilliamsTriggeredAbility(final RoryWilliamsTriggeredAbility ability) {

View file

@ -69,7 +69,7 @@ class TarnationVistaEffect extends ManaEffect {
TarnationVistaEffect() {
super();
staticText = "For each color among permanents you control, add one mana of that color";
staticText = "For each color among monocolored permanents you control, add one mana of that color";
}
private TarnationVistaEffect(final TarnationVistaEffect effect) {

View file

@ -29,6 +29,7 @@ public final class TrashTheTown extends CardImpl {
// + {2} -- Put two +1/+1 counters on target creature.
this.getSpellAbility().addEffect(new AddCountersTargetEffect(CounterType.P1P1.createInstance(2)));
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().withFirstModeCost(new GenericManaCost(2));
// + {1} -- Target creature gains trample until end of turn.

View file

@ -68,7 +68,7 @@ class VraskaTheSilencerEffect extends OneShotEffect {
VraskaTheSilencerEffect() {
super(Outcome.PutCreatureInPlay);
staticText = "return that card to the battlefield under your control. "
staticText = "return that card to the battlefield tapped under your control. "
+ "It's a Treasure artifact with \"{T}, Sacrifice this artifact: Add one mana of any color,\" "
+ "and it loses all other card types.";
}