mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
Some minor fixes and changes to framework and some cards.
This commit is contained in:
parent
4120578bd3
commit
c1fdd37ee4
3 changed files with 15 additions and 23 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue