forked from External/mage
* Changed return class of copy method.
This commit is contained in:
parent
2aa2ad7252
commit
67bd4956d9
34 changed files with 148 additions and 120 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue