mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
Added a test, some minor changes.
This commit is contained in:
parent
3c026c7d19
commit
5fae4878c0
7 changed files with 165 additions and 114 deletions
|
|
@ -115,8 +115,11 @@ public class BoostTargetEffect extends ContinuousEffectImpl {
|
|||
if (staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (mode == null || mode.getTargets().size() == 0) {
|
||||
return "no target";
|
||||
}
|
||||
Target target = mode.getTargets().get(0);
|
||||
StringBuilder sb = new StringBuilder();
|
||||
if (target.getMaxNumberOfTargets() > 1) {
|
||||
if (target.getNumberOfTargets() < target.getNumberOfTargets()) {
|
||||
sb.append("up to ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue