forked from External/mage
replaced StaticValue with singletons
This commit is contained in:
parent
7f0d793544
commit
9a603fbaab
318 changed files with 440 additions and 435 deletions
|
|
@ -26,11 +26,11 @@ public class DamageMultiEffect extends OneShotEffect {
|
|||
private final Set<MageObjectReference> damagedSet = new HashSet<>();
|
||||
|
||||
public DamageMultiEffect(int amount) {
|
||||
this(new StaticValue(amount));
|
||||
this(StaticValue.get(amount));
|
||||
}
|
||||
|
||||
public DamageMultiEffect(int amount, String whoDealDamageName) {
|
||||
this(new StaticValue(amount));
|
||||
this(StaticValue.get(amount));
|
||||
this.sourceName = whoDealDamageName;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue