forked from External/mage
refactored Player.setLife() to include source, some more changes
This commit is contained in:
parent
2205db105f
commit
3c2a8ee17d
41 changed files with 120 additions and 133 deletions
|
|
@ -67,7 +67,7 @@ public class SetPlayerLifeTargetEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(targetPointer.getFirst(game, source));
|
||||
if (player != null) {
|
||||
player.setLife(amount.calculate(game, source, this), game);
|
||||
player.setLife(amount.calculate(game, source, this), game, source);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue