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

@ -22,11 +22,11 @@ public class CreateTokenTargetEffect extends OneShotEffect {
private boolean attacking;
public CreateTokenTargetEffect(Token token) {
this(token, new StaticValue(1));
this(token, StaticValue.get(1));
}
public CreateTokenTargetEffect(Token token, int amount) {
this(token, new StaticValue(amount));
this(token, StaticValue.get(amount));
}
public CreateTokenTargetEffect(Token token, DynamicValue amount) {