mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
missed a card
This commit is contained in:
parent
37819c5088
commit
91124ad813
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue