refactored Player.gainLife() to include source

This commit is contained in:
Evan Kranzler 2018-04-18 20:27:49 -04:00
parent 254935da39
commit 3798f34c38
209 changed files with 221 additions and 218 deletions

View file

@ -74,7 +74,7 @@ public class GainLifeEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getControllerId());
if (player != null) {
player.gainLife(life.calculate(game, source, this), game);
player.gainLife(life.calculate(game, source, this), game, source);
}
return true;
}