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

@ -21,11 +21,11 @@ public class DamageTargetControllerEffect extends OneShotEffect {
protected boolean preventable;
public DamageTargetControllerEffect(int amount) {
this(new StaticValue(amount), true);
this(StaticValue.get(amount), true);
}
public DamageTargetControllerEffect(int amount, boolean preventable) {
this(new StaticValue(amount), preventable);
this(StaticValue.get(amount), preventable);
}
public DamageTargetControllerEffect(DynamicValue amount) {