[DOM] Some fixes and tooltip rule text changes.

This commit is contained in:
LevelX2 2018-04-19 15:48:25 +02:00
parent 753e01598a
commit 4cc77c49c4
23 changed files with 91 additions and 86 deletions

View file

@ -39,6 +39,7 @@ import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.players.Player;
import mage.target.common.TargetLandPermanent;
import mage.util.CardUtil;
/**
* "Untap (up to) X lands" effect
@ -56,7 +57,7 @@ public class UntapLandsEffect extends OneShotEffect {
super(Outcome.Untap);
this.amount = amount;
this.upTo = upTo;
staticText = "Untap " + (upTo ? "up to " : "") + amount + " lands";
staticText = "Untap " + (upTo ? "up to " : "") + CardUtil.numberToText(amount, staticText) + " lands";
}
public UntapLandsEffect(final UntapLandsEffect effect) {