forked from External/mage
made many dynamicvalues into singleton enums
This commit is contained in:
parent
1d4b0895b4
commit
fd7b8f29ca
390 changed files with 507 additions and 509 deletions
|
|
@ -6,7 +6,8 @@ import mage.abilities.effects.Effect;
|
|||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
|
||||
public class ControllerLifeCount implements DynamicValue {
|
||||
public enum ControllerLifeCount implements DynamicValue {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
||||
|
|
@ -19,7 +20,7 @@ public class ControllerLifeCount implements DynamicValue {
|
|||
|
||||
@Override
|
||||
public ControllerLifeCount copy() {
|
||||
return new ControllerLifeCount();
|
||||
return ControllerLifeCount.instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue