* Changed return class of copy method.

This commit is contained in:
LevelX2 2015-07-30 11:29:36 +02:00
parent 2aa2ad7252
commit 67bd4956d9
34 changed files with 148 additions and 120 deletions

View file

@ -7,6 +7,7 @@ import mage.game.Game;
import mage.players.Player;
public class ControllerLifeCount implements DynamicValue {
@Override
public int calculate(Game game, Ability sourceAbility, Effect effect) {
Player p = game.getPlayer(sourceAbility.getControllerId());
@ -17,7 +18,7 @@ public class ControllerLifeCount implements DynamicValue {
}
@Override
public DynamicValue copy() {
public ControllerLifeCount copy() {
return new ControllerLifeCount();
}