Some minor fixes and changes to framework and some cards.

This commit is contained in:
LevelX2 2014-04-18 18:21:17 +02:00
parent 4120578bd3
commit c1fdd37ee4
3 changed files with 15 additions and 23 deletions

View file

@ -67,10 +67,12 @@ public class CantBlockTargetEffect extends RestrictionEffect<CantBlockTargetEffe
@Override
public String getText(Mode mode) {
if (staticText != null && !staticText.isEmpty()) {
return staticText;
}
if (mode.getTargets().isEmpty()) {
return "";
}
StringBuilder sb = new StringBuilder();
Target target = mode.getTargets().get(0);
if (target.getMaxNumberOfTargets() > 1) {