replaced StaticValue with singletons

This commit is contained in:
Evan Kranzler 2020-01-05 11:33:21 -05:00
parent 7f0d793544
commit 9a603fbaab
318 changed files with 440 additions and 435 deletions

View file

@ -29,7 +29,7 @@ public class TargetAnyTargetAmount extends TargetPermanentOrPlayerAmount {
// any positive number or zero, unless something (such as damage or counters) is being divided
// or distributed among any number of players and/or objects. In that case, a nonzero number
// of players and/or objects must be chosen if possible.
this(new StaticValue(amount), maxNumberOfTargets);
this(StaticValue.get(amount), maxNumberOfTargets);
this.minNumberOfTargets = 1;
}