Fixed tooltip for IndestructibleTargetEffect

This commit is contained in:
North 2012-09-07 00:14:48 +03:00
parent c89a4fd535
commit 9c814083a1

View file

@ -87,10 +87,11 @@ public class IndestructibleTargetEffect extends ReplacementEffectImpl<Indestruct
} }
sb.append("target ").append(mode.getTargets().get(0).getTargetName()); sb.append("target ").append(mode.getTargets().get(0).getTargetName());
if (target.getMaxNumberOfTargets() > 1) { if (target.getMaxNumberOfTargets() > 1) {
sb.append("s"); sb.append("s are indestructible");
} else {
sb.append(" is indestructible");
} }
sb.append(" is indestructible");
if (Duration.EndOfTurn.equals(this.duration)) { if (Duration.EndOfTurn.equals(this.duration)) {
sb.append(" this turn"); sb.append(" this turn");
} }