mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
[EMN] Fixed tooltip text on some blue cards.
This commit is contained in:
parent
c322b9adad
commit
80f4ab770b
5 changed files with 13 additions and 6 deletions
|
@ -58,7 +58,7 @@ import mage.players.Player;
|
|||
*/
|
||||
public class DocentOfPerfection extends CardImpl {
|
||||
|
||||
private static final FilterSpell filterSpell = new FilterSpell("instant or sorcery spell");
|
||||
private static final FilterSpell filterSpell = new FilterSpell("an instant or sorcery spell");
|
||||
|
||||
static {
|
||||
filterSpell.add(Predicates.or(
|
||||
|
|
|
@ -57,7 +57,7 @@ import mage.filter.predicate.permanent.ControllerPredicate;
|
|||
public class FinalIteration extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Wizards");
|
||||
private static final FilterSpell filterSpell = new FilterSpell("instant or sorcery spell");
|
||||
private static final FilterSpell filterSpell = new FilterSpell("an instant or sorcery spell");
|
||||
|
||||
static {
|
||||
filter.add(new SubtypePredicate("Wizard"));
|
||||
|
@ -82,7 +82,7 @@ public class FinalIteration extends CardImpl {
|
|||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Wizards you control get +2/+1 and have flying.
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(2, 1, Duration.WhileOnBattlefield, filter, true));
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(2, 1, Duration.WhileOnBattlefield, filter, false));
|
||||
Effect effect = new GainAbilityAllEffect(FlyingAbility.getInstance(), Duration.WhileOnBattlefield, filter, false);
|
||||
effect.setText("and have flying");
|
||||
ability.addEffect(effect);
|
||||
|
|
|
@ -127,7 +127,8 @@ class IdentityThiefEffect extends OneShotEffect {
|
|||
|
||||
public IdentityThiefEffect() {
|
||||
super(Outcome.Detriment);
|
||||
staticText = "you may exile another target nontoken creature. If you do, {this} becomes a copy of that creature until end of turn. Return that card to the battlefield under its owner's control at the beginning of the next end step";
|
||||
staticText = "you may exile another target nontoken creature. If you do, {this} becomes a copy of that creature until end of turn. "
|
||||
+ "Return the exiled card to the battlefield under its owner's control at the beginning of the next end step";
|
||||
}
|
||||
|
||||
public IdentityThiefEffect(final IdentityThiefEffect effect) {
|
||||
|
|
|
@ -31,6 +31,7 @@ import java.util.UUID;
|
|||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTappedAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.DontUntapInControllersNextUntapStepTargetEffect;
|
||||
import mage.abilities.effects.common.TapTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
@ -66,7 +67,9 @@ public class StitchedMangler extends CardImpl {
|
|||
|
||||
// When Stitched Mangler enters the battlefield, tap target creature an opponent controls. That creature doesn't untap during its controller's next untap step.
|
||||
EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new TapTargetEffect());
|
||||
ability.addEffect(new DontUntapInControllersNextUntapStepTargetEffect());
|
||||
Effect effect = new DontUntapInControllersNextUntapStepTargetEffect();
|
||||
effect.setText("That creature doesn't untap during its controller's next untap step");
|
||||
ability.addEffect(effect);
|
||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
|
|
@ -159,6 +159,9 @@ public class DontUntapInControllersNextUntapStepTargetEffect extends ContinuousR
|
|||
return staticText;
|
||||
}
|
||||
if (targetName != null && targetName.length() > 0) {
|
||||
if (targetName.equals("Those creatures")) {
|
||||
return targetName + " don't untap during their controller's next untap step";
|
||||
} else
|
||||
return targetName + " doesn't untap during its controller's next untap step";
|
||||
} else {
|
||||
return "target " + (mode == null ? "creature" : mode.getTargets().get(0).getTargetName()) + " doesn't untap during its controller's next untap step";
|
||||
|
|
Loading…
Reference in a new issue