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

@ -103,7 +103,7 @@ class GainThatMuchLifeEffect extends OneShotEffect {
if (controller != null) {
int amount = (Integer) getValue("damage");
if (amount > 0) {
controller.gainLife(amount, game);
controller.gainLife(amount, game, source);
}
return true;