missed a card

This commit is contained in:
BetaSteward 2011-08-22 13:44:04 -04:00
parent 37819c5088
commit 91124ad813

View file

@ -119,7 +119,7 @@ class VigilForTheLostEffect extends OneShotEffect<VigilForTheLostEffect> {
cost.clearPaid(); cost.clearPaid();
if (cost.pay(source, game, source.getId(), source.getControllerId(), false)) { if (cost.pay(source, game, source.getId(), source.getControllerId(), false)) {
Player player = game.getPlayer(source.getControllerId()); Player player = game.getPlayer(source.getControllerId());
player.gainLife(((VariableCost)cost.getVariableCosts().get(0)).getAmount(), game); player.gainLife(cost.getX(), game);
return true; return true;
} else { } else {
return false; return false;