[LTR] [LTC] Text fixes (#10569)

This commit is contained in:
xenohedron 2023-07-06 00:24:12 -04:00 committed by GitHub
parent 1ccaf06366
commit e50f8b05c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 113 additions and 145 deletions

View file

@ -14,7 +14,11 @@ import mage.game.events.GameEvent;
public class LegendarySpellAbility extends SimpleStaticAbility {
public LegendarySpellAbility() {
super(Zone.ALL, new LegendarySpellAbilityCheckEffect());
this(false);
}
public LegendarySpellAbility(boolean isInstant) {
super(Zone.ALL, new LegendarySpellAbilityCheckEffect(isInstant));
this.setRuleAtTheTop(true);
}
@ -44,9 +48,11 @@ class LegendarySpellAbilityCheckEffect extends ContinuousRuleModifyingEffectImpl
);
}
public LegendarySpellAbilityCheckEffect() {
public LegendarySpellAbilityCheckEffect(boolean isInstant) {
super(Duration.EndOfGame, Outcome.Detriment);
staticText = "<i>(You may cast a legendary sorcery only if you control a legendary creature or planeswalker.)</i>";
staticText = "<i>(You may cast a legendary " +
(isInstant ? "instant" : "sorcery") +
" only if you control a legendary creature or planeswalker.)</i>";
}
private LegendarySpellAbilityCheckEffect(final LegendarySpellAbilityCheckEffect effect) {